-
Notifications
You must be signed in to change notification settings - Fork 9
Event.nucleus
Sebastien Filion edited this page Jun 14, 2018
·
2 revisions
-
name :
String -
message :
Object -
originUserID :
String
Creates a Nucleus Event.
Throws:
- Will throw an error if the event name is missing or an empty string.
| Param | Type |
|---|---|
| eventName | String |
| eventMessage | Object |
| [options] | Object |
| [options.originEngineID] | String |
| [options.originEngineName] | String |
| [options.originProcessID] | String |
Example
const event = new NucleusEvent(eventName, eventMessage, options);Kind: global typedef
Properties
| Name | Type |
|---|---|
| ID | String |
| meta | Object |
| meta.createdISOTime | String |
| meta.originEngineID | String |
| meta.originEngineName | String |
| meta.originProcessID | String |
| name | String |
| message | Object |
Creates a Nucleus Event.
Throws:
- Will throw an error if the event name is missing or an empty string.
| Param | Type |
|---|---|
| eventName | String |
| eventMessage | Object |
| [options] | Object |
| [options.originEngineID] | String |
| [options.originEngineName] | String |
| [options.originProcessID] | String |
Example
const event = new NucleusEvent(eventName, eventMessage, options);