UNPKG

@jsonjoy.com/reactive-rpc

Version:

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

8 lines 324 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pubsub = void 0; const publish_1 = require("./publish"); const listen_1 = require("./listen"); const pubsub = (d) => (r) => ((0, publish_1.publish)(d)((0, listen_1.listen)(d)(r))); exports.pubsub = pubsub; //# sourceMappingURL=index.js.map