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
dblock
changed the title
Cache server-side user, groups, channels and other data on launch
Cache and maintain user, groups, channels and other data
Jan 27, 2016
dblock
changed the title
Cache and maintain user, groups, channels and other data
Add local store
Jan 27, 2016
There's an interesting implementation in https://github.com/slackhq/node-slack-client/blob/master/src/client.coffee that caches users, channels, ims and groups.
It then does a lot of bookkeeping for you listening to well-known slack events.
Slack::RealTime::Client
should implement similar behavior, possibly optionally.The 2.0 branch does this even better with a clearly defined local store abstracted away.
We want to start with a local store
And implement a set of handlers like https://github.com/slackhq/node-slack-client/tree/2.0.0-beta/lib/data-store/message-handlers that manipulate the store.
The text was updated successfully, but these errors were encountered: