stream_channel 1.2.0 copy "stream_channel: ^1.2.0" to clipboard
stream_channel: ^1.2.0 copied to clipboard

outdatedDart 1 only

An abstraction for two-way communication channels.

1.2.0 #

  • Add new StreamChannel.withGuarantees(), which creates a channel with extra wrapping to ensure that it obeys the stream channel guarantees.

  • Add StreamChannelController, which can be used to create custom StreamChannel objects.

1.1.1 #

  • Fix the type annotation for StreamChannel.transform()'s parameter.

1.1.0 #

  • Add StreamChannel.transformStream(), StreamChannel.transformSink(), StreamChannel.changeStream(), and StreamChannel.changeSink() to support changing only the stream or only the sink of a channel.

  • Be more explicit about JsonDocumentTransformer's error-handling behavior.

1.0.1 #

  • Fix MultiChannel's constructor to take a StreamChannel. This is technically a breaking change, but since 1.0.0 was only released an hour ago, we're treating it as a bug fix.

1.0.0 #

  • Initial version
50
likes
0
pub points
100%
popularity

Publisher

verified publishertools.dart.dev

An abstraction for two-way communication channels.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

async, stack_trace

More

Packages that depend on stream_channel