open method
Implementation
@override
Future<ByteCall> open(Method method,
{CallOptions options = const CallOptions()}) async {
if (_closing != null || _closed) throw RpcError(14, 'Host is closed');
if (_failure != null) throw _failure!;
options.validate();
final handle = _instance.open(method, options.timeout);
if (handle == 0) throw RpcError(13, 'Module rejected call creation');
final call = _LocalCall(this, handle, options);
_calls.add(call);
_wake();
return call;
}