canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

API to allow external overrides #25

Closed matthewp closed 8 years ago

matthewp commented 8 years ago

I'm thinking:

var wait = require("can-wait");
var Override = wait.Override;

wait(fn, {
  overrides: []
});

Just expose the Override constructor used internally.