-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Description
The context is that providers may need to run some initialization work (and/or cleanup work) for each API call. The current per-call hook support is geared towards application developers. All hooks are added by the developers when using a specific API call. If a provider requires some work as a part of API call there may be two options:
- Do not cover it in the spec - it is out-of-band, specific to each Provider
- Create a spec for a Provider hook that is NOT set by the application developer. Any API call requires that the SDK runs the provider hook with the same stages - before, after, error, finally etc. But provider should be able to register such a hook and it should be transparent to the application developer.
Thoughts?
beeme1mr