Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@smallstoneapps/message-queue

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smallstoneapps/message-queue

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

latest
Source
npmnpm
Version
2.4.2
Version published
Maintainers
1
Created
Source

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);

Keywords

pebble-package

FAQs

Package last updated on 30 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts