state Property Readonly
The state that tracks the status of an asynchronous action, including counters for successes and failures, as well as flags indicating whether the action is in progress, has completed successfully, or has failed
API
readonly state: StateType<AsyncData>;
Example
import {asyncGroup} from '@bitfiber/rx';
// Creates an asynchronous group
const group = asyncGroup<number, string[], Error>(({state}) => {
state
// Performs a tap callback each time the request state changes
.tap(req => console.log(req.inProgress));
});