Coder Social home page Coder Social logo

electron-modules / electron-webview-schedule Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 1.0 294 KB

Webview scheduling management, supporting asynchronous queue for Electron.

JavaScript 83.58% HTML 15.98% Shell 0.44%
electron webview memory promise-queue

electron-webview-schedule's Introduction

electron-webview-schedule

NPM version build status Test coverage npm download

Webview scheduling management module supporting asynchronous queue for Electron.


Installment

$ npm i electron-webview-schedule --save

Usage

Import in the renderer process.

import moment from 'moment';
import PromiseQueue from 'electron-webview-schedule/lib/promise-queue';
import WebviewSchedule from 'electron-webview-schedule/lib/webview-schedule';

const webviewSchedule = new WebviewSchedule({
  container: document.body,
  queue: new PromiseQueue(1),
  moment,
  webviewOptions: {
    eventsStack: [],
    attributes: {
    },
  },
});

webviewSchedule.send('channel-foo', args);

Development

$ npm i
$ npm run dev

Contributors


xudafeng


sriting


zlyi


moshangqi

This project follows the git-contributor spec, auto updated at Thu Feb 23 2023 23:47:00 GMT+0800.

License

The MIT License (MIT)

electron-webview-schedule's People

Contributors

moshangqi avatar sriting avatar xudafeng avatar zlyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cherislive

electron-webview-schedule's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.