Search
Preparing search index...
The search index is not available
AncientSouls Documentation
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"ancient-peer/src/lib/peer"
IPeerCursor
Interface IPeerCursor<IEventsList>
Type parameters
IEventsList
:
ICursorEventsList
Hierarchy
INode
<
IEventsList
>
IPeerCursor
Indexable
[
key:
string
]:
any
Index
Constructors
constructor
Properties
emitter
id
is
Destroyed
query
Methods
destroy
emit
exec
generate
Id
off
on
once
Constructors
constructor
new IPeer
Cursor
(
id
?:
string
)
:
any
Parameters
Optional
id:
string
Returns
any
Properties
emitter
emitter
:
EventEmitter
id
id
:
string
is
Destroyed
is
Destroyed
:
boolean
query
query
:
TPeerApiQuery
Methods
destroy
destroy
(
)
:
void
Returns
void
emit
emit<IE>
(
eventName
:
IE
, data
:
IEventsList[IE]
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
data:
IEventsList[IE]
Returns
this
exec
exec
(
query
:
IPeerCursorQuery
, data
?:
any
)
:
void
Parameters
query:
IPeerCursorQuery
Optional
data:
any
Returns
void
generate
Id
generate
Id
(
)
:
string
Returns
string
off
off<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
on
on<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
once
once<IE>
(
eventName
:
IE
, listener
:
function
)
:
this
Type parameters
IE
:
keyof IEventsList
Parameters
eventName:
IE
listener:
function
(
data
:
IEventsList[IE]
)
:
void
Parameters
data:
IEventsList[IE]
Returns
void
Returns
this
Globals
"ancient-
peer/src/lib/peer"
Peer
IPeer
IPeer
Api
IPeer
Api
Callbacks
IPeer
Api
Send
IPeer
Bundle
IPeer
Cursor
constructor
emitter
id
is
Destroyed
query
destroy
emit
exec
generate
Id
off
on
once
IPeer
Cursor
Query
IPeer
Event
Data
IPeer
Events
List
IPeer
Prepared
IPeer
Query
IPeer
Relations
Channels
IPeer
Relations
Cursors
IPkg
TChannels
Manager
TCursor
Manager
TPeer
TPeer
Api
Query
TPeer
Cursor
Mixed
Peer
default
Api
mixin
Generated using
TypeDoc