@kayahr/scope
    Preparing search index...

    Class ScopeSlot<T>

    Typed slot token for storing one scope-local value.

    Slots are compared by object identity. Each call to create returns a distinct slot token.

    Type Parameters

    • T

      The value type stored under this slot.

    Index

    Methods

    Methods

    • Creates a new typed slot for storing scope-local values.

      Type Parameters

      • T

        The value type stored under this slot.

      Returns ScopeSlot<T>

      The created slot token.