AppTerminateContext class

Context on a function app during app termination.

Extends

Constructors

AppTerminateContext(AppTerminateContextInit)

For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime

Inherited Properties

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

Constructor Details

AppTerminateContext(AppTerminateContextInit)

For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime

new AppTerminateContext(init?: AppTerminateContextInit)

Parameters

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