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.
createServiceHook
The context to bind to.
The service token.
A function () => T.
() => T
1.2.0
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.