registerProcedure abstract method
Registers callback
as a handler for the server-side transmitted remote
procedure call (RPC) of name
. This is essentially the reverse of the
invoke function, i.e. when the server calls .invoke(...)
on the
client, this function's callback is called.
Implementation
StreamSubscription registerProcedure(
String name,
Function(dynamic data) callback,
);