Skip to Content

initialize Method

Initiates the group and all its items.

In most cases, this method will be called automatically by a group or store managing the group, so you generally don’t need to call it manually unless you have a specific reason to do so

@returns this
The instance of the current group, allowing for method chaining

API

initialize(): this;

Example

import {asyncGroup} from '@bitfiber/rx'; // Creates an asynchronous group const group = asyncGroup<number, string[], Error>(); // Initializes the group and all items within the group group.initialize();
Last updated on