writeToChannel
abstract suspend fun writeToChannel(from: Entity, to: Entity, message: ByteArray): Either<ProtocolError, Unit>
Sends a message an Entity another Entity.
This method can either succeed or fail with a ProtocolError. Fails if the from and to entities are not registered in the protocol via the setupChannel method.