Preparing search index...
The search index is not available
Deepkit
Deepkit
broker
BrokerState
Class BrokerState
Hierarchy
BrokerState
Index
Constructors
constructor
Properties
entity
Fields
locker
set
Store
subscriptions
Methods
delete
get
get
Entity
Fields
increment
is
Locked
lock
publish
publish
Entity
Fields
set
subscribe
try
Lock
unsubscribe
unsubscribe
Entity
Fields
Constructors
constructor
new
Broker
State
(
)
:
BrokerState
Returns
BrokerState
Properties
entity
Fields
entity
Fields
:
Map
<
string
,
Map
<
string
,
number
>
>
= ...
locker
locker
:
ProcessLocker
= ...
set
Store
set
Store
:
Map
<
string
,
Uint8Array
>
= ...
subscriptions
subscriptions
:
Map
<
string
,
BrokerConnection
[]
>
= ...
Methods
delete
delete
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
get
get
(
id
:
string
)
:
undefined
|
Uint8Array
Parameters
id:
string
Returns
undefined
|
Uint8Array
get
Entity
Fields
get
Entity
Fields
(
name
:
string
)
:
string
[]
Parameters
name:
string
Returns
string
[]
increment
increment
(
id
:
string
, v
?:
number
)
:
number
Parameters
id:
string
Optional
v:
number
Returns
number
is
Locked
is
Locked
(
id
:
string
)
:
boolean
Parameters
id:
string
Returns
boolean
lock
lock
(
id
:
string
, ttl
:
number
, timeout
?:
number
)
:
Promise
<
ProcessLock
>
Parameters
id:
string
ttl:
number
timeout:
number
= 0
Returns
Promise
<
ProcessLock
>
publish
publish
(
channel
:
string
, v
:
Uint8Array
)
:
void
Parameters
channel:
string
v:
Uint8Array
Returns
void
publish
Entity
Fields
publish
Entity
Fields
(
name
:
string
, fields
:
string
[]
)
:
boolean
Parameters
name:
string
fields:
string
[]
Returns
boolean
set
set
(
id
:
string
, data
:
Uint8Array
)
:
void
Parameters
id:
string
data:
Uint8Array
Returns
void
subscribe
subscribe
(
channel
:
string
, connection
:
BrokerConnection
)
:
void
Parameters
channel:
string
connection:
BrokerConnection
Returns
void
try
Lock
try
Lock
(
id
:
string
, ttl
?:
number
)
:
Promise
<
undefined
|
ProcessLock
>
Parameters
id:
string
ttl:
number
= 0
Returns
Promise
<
undefined
|
ProcessLock
>
unsubscribe
unsubscribe
(
channel
:
string
, connection
:
BrokerConnection
)
:
void
Parameters
channel:
string
connection:
BrokerConnection
Returns
void
unsubscribe
Entity
Fields
unsubscribe
Entity
Fields
(
name
:
string
, fields
:
string
[]
)
:
undefined
|
boolean
Parameters
name:
string
fields:
string
[]
Returns
undefined
|
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Broker
State
constructor
entity
Fields
locker
set
Store
subscriptions
delete
get
get
Entity
Fields
increment
is
Locked
lock
publish
publish
Entity
Fields
set
subscribe
try
Lock
unsubscribe
unsubscribe
Entity
Fields
Generated using
TypeDoc