Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
DirectPushScheduler
Class DirectPushScheduler
Hierarchy
DirectPushScheduler
Implements
IPushScheduler
Index
Constructors
constructor
Properties
app
Methods
do
Batch
Push
do
Broadcast
schedule
start
stop
Constructors
constructor
new
Direct
Push
Scheduler
(
app
:
Application
, opts
?:
__type
)
:
DirectPushScheduler
Parameters
app:
Application
Optional
opts:
__type
Returns
DirectPushScheduler
Properties
app
app
:
Application
Methods
do
Batch
Push
do
Batch
Push
(
msg
:
any
, recvs
:
SID
[]
)
:
void
Parameters
msg:
any
recvs:
SID
[]
Returns
void
do
Broadcast
do
Broadcast
(
msg
:
any
, opts
:
BroadcastOptions
)
:
void
Parameters
msg:
any
opts:
BroadcastOptions
Returns
void
schedule
schedule
(
reqId
:
number
, route
:
string
, msg
:
any
, recvs
:
SID
[]
, opts
:
ScheduleOptions
, cb
:
function
)
:
void
Parameters
reqId:
number
route:
string
msg:
any
recvs:
SID
[]
opts:
ScheduleOptions
cb:
function
(
err
?:
Error
)
:
void
Parameters
Optional
err:
Error
Returns
void
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Globals
Direct
Push
Scheduler
constructor
app
do
Batch
Push
do
Broadcast
schedule
start
stop