• Create a typed accessor bound to a specific context instance.

    Unlike createServiceHook, this does not use the global context — it's bound directly to the provided context.

    Type Parameters

    • T

    Parameters

    Returns (() => T)

    A function () => T.

      • (): T
      • Returns T

    1.2.0