Skip to content

Add function callback to pre/post invocation hook context #553

@ejizba

Description

@ejizba

Met with App Insights folks and the main thing missing from the new hooks is the function callback. The callback is an argument to cls-hooked in their wrapWithCorrelationContext method.

Since we store function callbacks across executions, we should make sure the hooks for one execution can't affect another execution.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions