RemoteStream Module
Reads a RemoteStream the same way on .NET and Fable.
Functions and values
| Function or value |
Description
|
Full Usage:
RemoteStream.iter f stream
Parameters:
'T -> unit
stream : RemoteStream<'T>
Returns: Task<unit>
Type parameters: 'T |
Calls f with each item of the stream, as it comes, until it ends.
|
Full Usage:
RemoteStream.iterTask cancellationToken f stream
Parameters:
CancellationToken
f : 'T -> Task<unit>
stream : RemoteStream<'T>
Returns: Task<unit>
Type parameters: 'T |
Calls f with each item of the stream, as it comes, until it ends or the token is cancelled.
|
Full Usage:
RemoteStream.toList stream
Parameters:
RemoteStream<'T>
Returns: Task<'T list>
Type parameters: 'T |
Orsak