open Stream To Address
fun openStreamToAddress( address: DittoAddress, reliability: DittoBusReliability, completion: OpenStreamCompletion)
Content copied to clipboard
Open a dedicated stream handle to a remote peer at the nominated reliability level.
The completion closure will provide either the successfully-connected stream or an error.
Make sure to set the callback
property on the new stream immediately when it is received in the completion closure. This ensures that no callbacks will be missed.