UNPKG

@jsonjoy.com/reactive-rpc

Version:

Reactive-RPC is a library for building reactive APIs over WebSocket, HTTP, and other RPCs.

13 lines 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Defer = void 0; class Defer { constructor() { this.promise = new Promise((resolve, reject) => { this.resolve = resolve; this.reject = reject; }); } } exports.Defer = Defer; //# sourceMappingURL=Defer.js.map