als-unhooked
    Preparing search index...

    Function getNamespace

    • Retrieves an existing namespace by name.

      Type Parameters

      Parameters

      • name: string

        The name of the namespace.

      Returns Namespace<keyof T, T[keyof T]>

      The namespace if found, otherwise undefined.

      const ns = getNamespace('myNamespace');
      
    • Retrieves an existing namespace by name.

      Type Parameters

      • K = any
      • V = any

      Parameters

      • name: string

        The name of the namespace.

      Returns Namespace<K, V>

      The namespace if found, otherwise undefined.

      const ns = getNamespace('myNamespace');