storeon / websocket

Module for storeon to sync events through WebSocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add configuration param for include or include events to be sent/dispatched

polemius opened this issue · comments

const url = 'ws://localhost:8080'
const include = ['counter/add']
websocket(url, exclude)

With this configuration only event counter/add will be sent to server or dispatched if module received it from server.

From storeon/storeon#88 (comment)