Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

A Pebble package that handles queuing of outgoing messages and allows for easy group based routing of incoming messages.

License

Notifications You must be signed in to change notification settings

smallstoneapps/message-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Message Queue npm (scoped) MIT License

A Pebble package that handles queuing of outgoing messages and allows for easy group based routing of incoming messages.

Installation

You must be using Pebble SDK 3.12 or newer to use this library.

To install the package to your app, use the pebble tool:

pebble package install @smallstoneapps/message-queue

Usage

Setup the message queue

mqueue_init();

Add a message to be sent.

mqueue_add("GROUP", "OPERATION", "DATA");

Register a callback function for incoming messages of a particular group.

mqueue_register_handler("GROUP", msg_handler);

About

A Pebble package that handles queuing of outgoing messages and allows for easy group based routing of incoming messages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published