Proposal: plugin system #1

azu opened this Issue Oct 30, 2016 · 0 comments


None yet

1 participant

azu commented Oct 30, 2016 edited

yahoo/subscribe-ui-event provide some function that throttling, caching etc.. by default.
We want to the feature by plugin.

API Design example:

const eventObserver = require("ui-event-observer");
const throttling = require("ui-event-observer-plugin-throttling");
  .use(throttling({ time: 200 }))

The plugin system is similar with Connect I think.

@azu azu added the help wanted label Oct 30, 2016
@azu azu changed the title from Plugin system to Proposal: plugin system Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment