Skip to content

Commit

Permalink
describe sub.bkg
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Nov 26, 2019
1 parent 8c2e624 commit 15af522
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,9 @@ The `{sub}` message may include a `get` and `set` fields which mirror `{get}` an
```js
sub: {
id: "1a2b3", // string, client-provided message id, optional
topic: "me", // topic to be subscribed or attached to

topic: "me", // topic to be subscribed or attached to
bkg: true, // request to attach to topic is issued by an automated agent, server should delay sending
// presence notifications because the agent is expected to disconnect very quickly
// Object with topic initialisation data, new topics & new
// subscriptions only, mirrors {set} message
set: {
Expand Down

0 comments on commit 15af522

Please sign in to comment.