Skip to content

Support multi callbacks #6

@kMutagene

Description

@kMutagene

Callbacks should be a DU like this:

type Callback
| SingleCallback ...
| MultiCallback ...

this will make serialization harder but making multiple outputs possible is important.

  • the 'Output' property of the callback (which is basically its id) needs to be constructed from the multi output objects
  • this id should then automatically be used to register the callback, abstracting the argument away from the registerCallback function.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions