We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcdf69 commit 4ee7d5cCopy full SHA for 4ee7d5c
src/reactive-rpc/common/codec/RpcCodec.ts
@@ -4,7 +4,11 @@ import type {JsonValueCodec} from '../../../json-pack/codecs/types';
4
import type {RpcMessageCodec} from './types';
5
6
export class RpcCodec {
7
- constructor(public readonly msg: RpcMessageCodec, public readonly req: JsonValueCodec, public readonly res: JsonValueCodec) {}
+ constructor(
8
+ public readonly msg: RpcMessageCodec,
9
+ public readonly req: JsonValueCodec,
10
+ public readonly res: JsonValueCodec,
11
+ ) {}
12
13
public specifier(): RpcSpecifier {
14
const specifier = `rpc.${this.msg.id}.${this.req.id}` + (this.req.id !== this.res.id ? `-${this.res.id}` : '');
0 commit comments