Takes an element and emits downstream if the getState(elem) matches the current state, if not enqueues to
a priority queue. When an element is emitted, the state is updated by calling updateState and an element is
dequeued from the priority queue and emitted if it matches the updated state.
Emits whengetState(elem) matches the current state, if not enqueues it to priority queue
Backpressures when downstream backpressures
Completes when upstream completes
Cancels when downstream cancels
Linear Supertypes
GraphStage[FlowShape[A, A]], GraphStageWithMaterializedValue[FlowShape[A, A], NotUsed], Graph[FlowShape[A, A], NotUsed], AnyRef, Any
Takes an element and emits downstream if the getState(elem) matches the current state, if not enqueues to a priority queue. When an element is emitted, the state is updated by calling updateState and an element is dequeued from the priority queue and emitted if it matches the updated state.
Emits when getState(elem) matches the current state, if not enqueues it to priority queue
Backpressures when downstream backpressures
Completes when upstream completes
Cancels when downstream cancels