Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was 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

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.