Emit a Custom Event
Emit a custom event with custom data
Demos & Screenshots
No screenshots provided yet. Have some video demos or screenshots of this
brick
in the wild?
Send them over to
[email protected]!
How to Use
The Emit a Custom Event brick is used to run another installed extension that runs off a trigger. The ‘eventName’ field defines the name used to refer to the extension, which can be put into the ‘Custom Event’ field of the trigger on a trigger extension set to Custom Event. You can also add data to the ‘data’ field to give that extension access to that data from the start.
Be careful about making infinite loops by having an extension trigger itself or extensions triggering each other.
Inputs
Name | Required | Type | Description |
---|---|---|---|
data |
object
|
A custom payload for the event | |
eventName |
string
|
A unique name/type for the event |
Outputs
Name | Required | Type | Description |
---|---|---|---|
No outputs for this brick defined. |
Details
ID | @pixiebrix/event |
---|---|
Author |
@pixiebrix
|
Version | 1.7.0 |
Created | June 19, 2022 |
Updated | June 29, 2022 |
Related Bricks
- No related bricks