Skip to content

Commit 2a2d4f3

Browse files
weakishleeyeh
authored andcommitted
docs(push): add flow_control for smooth push (#588)
1 parent f058f3d commit 2a2d4f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/push.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = function(AV) {
1616
* @param {Date} [data.expiration_time] A Date object for when to expire
1717
* the push.
1818
* @param {Number} [data.expiration_interval] The seconds from now to expire the push.
19+
* @param {Number} [data.flow_control] The clients to notify per second
1920
* @param {AV.Query} [data.where] An AV.Query over AV.Installation that is used to match
2021
* a set of installations to push to.
2122
* @param {String} [data.cql] A CQL statement over AV.Installation that is used to match

storage.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ export namespace Push {
11411141
push_time?: Date;
11421142
expiration_time?: Date;
11431143
expiration_interval?: number;
1144+
flow_control?: number;
11441145
where?: Query<Installation>;
11451146
cql?: string;
11461147
data?: any;

0 commit comments

Comments
 (0)