Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
websocket
WebSocketWorker
Class WebSocketWorker
Hierarchy
WebSocketWorker
Implements
SociablyWorker
<
WebSocketJob
,
WebSocketResult
>
Index
Constructors
constructor
Properties
_execute
Jobs
Callback
_listen
Jobs
Callback
_started
server
Methods
_execute
Jobs
_listen
Jobs
start
stop
Constructors
constructor
new
Web
Socket
Worker
(
server
:
WebSocketServer
<
any
,
unknown
>
)
:
WebSocketWorker
Parameters
server:
WebSocketServer
<
any
,
unknown
>
Returns
WebSocketWorker
Properties
_execute
Jobs
Callback
_execute
Jobs
Callback
:
any
= ...
_listen
Jobs
Callback
_listen
Jobs
Callback
:
any
= ...
_started
_started
:
boolean
server
server
:
WebSocketServer
<
any
,
unknown
>
Methods
_execute
Jobs
_execute
Jobs
(
jobs
:
WebSocketJob
[]
)
:
Promise
<
JobResponse
<
WebSocketJob
,
WebSocketResult
>
[]
>
Parameters
jobs:
WebSocketJob
[]
Returns
Promise
<
JobResponse
<
WebSocketJob
,
WebSocketResult
>
[]
>
_listen
Jobs
_listen
Jobs
(
queue
:
default
<
WebSocketJob
,
WebSocketResult
>
)
:
void
Parameters
queue:
default
<
WebSocketJob
,
WebSocketResult
>
Returns
void
start
start
(
queue
:
default
<
WebSocketJob
,
WebSocketResult
>
)
:
boolean
Parameters
queue:
default
<
WebSocketJob
,
WebSocketResult
>
Returns
boolean
stop
stop
(
queue
:
default
<
WebSocketJob
,
WebSocketResult
>
)
:
boolean
Parameters
queue:
default
<
WebSocketJob
,
WebSocketResult
>
Returns
boolean
Modules
auth
core
create-
app
dev-
tools
dialogflow
http
line
messenger
next
redis-
state
script
stream
telegram
twitter
websocket
websocket/broker/
Local
Only
Broker
websocket/client
websocket/utils
default
webview
Web
Socket
Worker
constructor
_execute
Jobs
Callback
_listen
Jobs
Callback
_started
server
_execute
Jobs
_listen
Jobs
start
stop
Generated using
TypeDoc