Data Messages

Sending and receiving data messages

Data Messages

Messages are used to send data across your application in a uniformed way.


new Message(action, data)


A message takes the following parameters:

Name Description Type Required
action a string determines which action or topic should be triggered string true
data an object with your data object true


import { Message } from 'gluebert/message'

const createSomethingMessage = new Message(
        some : 'thing',

References and Examples

What Where
API Reference