Files
meteor/packages/context/context.js
Ben Newman 664560d8bb Implement basic meteor/context package with @wry/context.
The promise package needs a weak dependency on this package (on the
server) because meteor-promise saves a reference to Fiber.yield, so we
need to have wrapped Fiber.yield with noContext before that happens.
2019-04-12 16:12:51 -04:00

16 lines
185 B
JavaScript

const {
Slot,
bind,
noContext,
setTimeout,
asyncFromGen,
} = require("@wry/context");
Object.assign(exports, {
Slot,
bind,
noContext,
setTimeout,
asyncFromGen,
});