Skip to content

additional data on trigger event #14

@mrbraca15

Description

@mrbraca15

hello i need to send a additional data on trigger event for use it after on succes event, for example:

webHooks.trigger(shortName, payloadData, additionalData);

emitter.on('*.success', (shortname, statusCode, body, additionalData)=> {
            //here i need to use the data that i send as parameter in the trigger event
           //how can i do that?
});

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions