Skip to content

set_hook baseline api call #660

@StoneCypher

Description

@StoneCypher

This is the gross API that users shouldn't generally use; the generalized one with the object argument, that all the convenient ones are actually built from.

m.set_hook({ kind: '...', ... });

The shape of the remaining object is defined by kind, as it's a union type, but it's generally something like

m.set_hook({ kind: 'hook', from: 'a', to: 'b', handler: SomeFunction });

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions