InterfaceRequest<T> request ()
InterfaceRequest<T> request() { if (!isUnbound) { throw FidlStateException( "AsyncProxyController<${$interfaceName}> isn't unbound"); } ChannelPair pair = ChannelPair(); if (pair.status != ZX.OK) { throw FidlError( "AsyncProxyController<${$interfaceName}> couldn't create channel: ${getStringForStatus(pair.status)}"); } _reader.bind(pair.first!); state = InterfaceState.bound; return InterfaceRequest<T>(pair.second); }