Channel.fromEndpoint constructor
Channel.fromEndpoint(
- Endpoint endpoint
Wrap an existing endpoint (bidirectional use; starts its read loop).
Implementation
Channel.fromEndpoint(this.endpoint) {
endpoint.start();
}