Type Alias RPCCallback<T>
RPCCallback<T>: ((this: void,
src: number,
cb: ((this: void,
...args: T) => void),
...args: any[]) => any) Type declaration
- (this, src, cb, ...args): any
Parameters
- this: void
- src: number
- cb: ((this: void, ...args: T) => void)
- (this, ...args): void
Returns void
Rest
...args: any[]
Returns any
Type of a RPC function that can be called from the client.