@dxos/app-framework - v0.15.0
    Preparing search index...

    Type Alias IdentifierOf<C>

    IdentifierOf: C extends Tag<any, infer S>
        ? CapabilityIdentifier<S, "single">
        : C extends MultiTag<any, infer S>
            ? CapabilityIdentifier<S, "multi">
            : never

    The capability identifier (NSID + arity) of a tag. Extracted from our own Tag/ MultiTag S parameter rather than via Effect's Context.Service.Identifier, which — for a generic tag parameter — falls through to its TagClassShape branch and yields the raw tag (leaking the service type again). Singleton checked first; a singleton never matches the multi arm and vice versa (the arity brand differs).

    Type Parameters

    • C