Stream.openAsync()
DESCRIPTION
Open this stream asynchronously.
DECLARATION
public func openAsync(streamPort: UInt32, closure: @escaping AsyncStatusReceiver)
PARAMETERS
streamPort:
- The listening id/port to use for the stream. This is used to distinguish streams in the other end, like a port number.
closure:
- Invoked when the stream is opened or an error occurs, see synchronous open() for possible errors.