Skip to content

hook events #37

Closed
Closed

Description

@pi0

Allow inspecting hook calls for (debug) inspection and nonblocking purposes. We can also measure execution time with a flag and provide to event.

API could be like this:

hookable.on(hookNamem, (event) => { /* non blocking */ })
hookable.onAll((event => { })

event = { name: 'hook-name', totalTime: timeInMS }

Activity

  1. self-assigned this
    on Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions