Skip to content

Home > @esengine/ecs-framework-monorepo > ServerRpcInvoker

ServerRpcInvoker type

服务端RPC调用接口类型

Signature:

typescript
export type ServerRpcInvoker = <TArgs extends readonly unknown[], TReturn>(clientId: string, methodName: string, args: TArgs, options?: Partial<RpcOptions>) => Promise<TReturn>;

References: RpcOptions

基于 MIT 许可证发布