obby_client_async library
An async driver for ObbyClient, giving a host a Stream<ObbyEvent> and owning the poll/drain
loop for it.
A separate library from obby_client.dart on purpose: the sans-io engine and its manual loop
are untouched and keep working.
Classes
- ObbyAsyncClient
-
Drives an ObbyClient off an already-open transport: bytes in through
incoming, bytes out throughsend. Adart:ioSocketsupplies both: pass the socket itself asincomingandsocket.addassend. AWebSocket, or any otherStream<List<int>>with a matching sink, fits the same way.