the function that should be executed when a value is emitted into the Subject
.
The emitted value is passed as the argument.
a subscribed Subject
instance that performs the provided callback
on the first emission and then completes
Generated using TypeDoc
Creates a call chain
Subject
that performs an action when a value is emitted into it.Useful for creating call chains for methods like [assign Task]{@link AssignTaskService#assign}. By using this function you don't have to handle the
Subject
logic and can only focus on the callback. This can make the code easier to understand as the intent is not obscured by theSubject
handling.