You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Mutual/ng provides a simple event emitter interface for Redis-based messaging, we can set up a flow to implement a synchronized counter quite trivially.
Client
In the following code ,messages is a Mutual event-emitter.
go [
events"update", messages
map (counter) ->data.counter= counter
]
Server
go [
observedata.counter
map ({counter}) ->messages.emit"update", counter
]
The text was updated successfully, but these errors were encountered:
Since Mutual/ng provides a simple event emitter interface for Redis-based messaging, we can set up a flow to implement a synchronized counter quite trivially.
Client
In the following code ,
messages
is a Mutual event-emitter.Server
The text was updated successfully, but these errors were encountered: