EmittingHandler
class EmittingHandler<A, E>(val collectWithChannel: (Flow<A>, FlowCollector<E>, Job) -> Unit, flow: MutableSharedFlow<E> = MutableSharedFlow()) : Handler<A> , Flow<E>
An EmittingHandler is a special Handler that constitutes a new Flow by itself. You can emit values to this Flow from your code and connect it to other Handlers on this or on other Stores. This way inter-store-communication is done in fritz2.
Parameters
collectWithChannel
defines how to handle the values of the connected Flow
Properties
Link copied to clipboard
gives the MessageEvent.data as Flow of ArrayBuffer
Link copied to clipboard
gives the MessageEvent.data as Flow of Blob
Link copied to clipboard
gives the MessageEvent.data as Flow of String
Link copied to clipboard
Link copied to clipboard
gives the MessageEvent.data as Flow of Any
Link copied to clipboard
Checks if a Flow of a List of ValidationMessages is valid.