initializeInterface MethodStatic
Initializes an RPC interface class.
initializeInterface<T extends RpcInterface>(definition: RpcInterfaceDefinition<T extends RpcInterface>): void
note This function must be called on the frontend and on the backend for each RPC interface class used by an application.
Parameter | Type | Description |
---|---|---|
definition | RpcInterfaceDefinition<T extends RpcInterface> |
Defined in
Last Updated: 08 January, 2020