AppStartContext class
Context on a function app during app startup.
- Extends
Constructors
| App |
For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime |
Inherited Properties
| hook |
The recommended place to store and share data between hooks in the same scope (app-level vs invocation-level). You should use a unique property name so that it doesn't conflict with other hooks' data. This object is readonly. You may modify it, but attempting to overwrite it will throw an error |
Constructor Details
AppStartContext(AppStartContextInit)
For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime
new AppStartContext(init?: AppStartContextInit)
Parameters
- init
- AppStartContextInit
Inherited Property Details
hookData
The recommended place to store and share data between hooks in the same scope (app-level vs invocation-level). You should use a unique property name so that it doesn't conflict with other hooks' data. This object is readonly. You may modify it, but attempting to overwrite it will throw an error
hookData: Record<string, unknown>
Property Value
Record<string, unknown>
Inherited From HookContext.hookData