*Missing returning rpc instance
This commit is contained in:
parent
f74c66ab5f
commit
0e39f3d658
|
@ -43,6 +43,8 @@ export function setupStream(stream: SecretStream) {
|
||||||
id: RPC_PROTOCOL_ID,
|
id: RPC_PROTOCOL_ID,
|
||||||
valueEncoding: c.json,
|
valueEncoding: c.json,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
return stream[RPC_PROTOCOL_SYMBOL];
|
||||||
}
|
}
|
||||||
|
|
||||||
export class RPCServer extends EventEmitter {
|
export class RPCServer extends EventEmitter {
|
||||||
|
|
Loading…
Reference in New Issue