AsFutureEncodable<T> extension

on

Methods

future() Encodable<Future<T>>

Available on Encodable<T>, provided by the AsFutureEncodable extension

Returns an Encodable that can encode a future of T.
stream() Encodable<Stream<T>>

Available on Encodable<T>, provided by the AsFutureEncodable extension

Returns an Encodable that can encode a stream of T.