UNPKG

@berish/rfp

Version:

Binary secure transport organization protocol for peer communication using function fingerprints

8 lines 297 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.receive = void 0; function receive(peer, path, callback) { return peer.receiveEmitter.on(path, ({ request, next }) => callback(request, next)); } exports.receive = receive; //# sourceMappingURL=receive.js.map