UNPKG

@simple-ui/cable

Version:

Cable is a messaging utility with tree and graph message broadcasting combining the centricity of mediators with the semantic protections of signal-slot.

39 lines (24 loc) 814 B
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> # Changelog - [1.1.2](#112) - [1.1.1](#111) - [1.1.0](#110) - [1.0.1](#101) - [1.0.0](#100) <!-- END doctoc generated TOC please keep comment here to allow auto update --> ### 1.1.3 - MOVED to @simple-ui npm organization ### 1.1.2 - ADDED JSCS support - CONVERTED to SimpleUI ### 1.1.1 - IMPROVED documentation in code ### 1.1.0 - ADDED `flood` to send to all connected cables - ADDED `tap` to listen to every cable invoked when a signal is fired - REFACTORED a `Cable` is a class which defines all necessary message tracking ### 1.0.1 - ADDED receipt function so the caller can be notified of each cable sent ### 1.0.0 - INITIAL simpleui-cable commit