Function createSignalScope

  • Creates an Alien Signals effect scope. This scope can manage multiple effects, allowing you to stop or start them together.

    Returns EffectScope

    The created effect scope.

    const scope = createSignalScope();
    scope.run(() => {
    // create effects in here...
    });