@resonatehq/sdk
Preparing search index...
PollMessageSource
Class PollMessageSource
Implements
HttpAdapter
Index
Constructors
constructor
Properties
anycast
unicast
Methods
init
match
on
Receive
stop
Constructors
constructor
new
PollMessageSource
(
__namedParameters
:
{
logger
?:
Logger
;
token
?:
string
;
url
:
string
}
,
)
:
PollMessageSource
Parameters
__namedParameters
:
{
logger
?:
Logger
;
token
?:
string
;
url
:
string
}
Returns
PollMessageSource
Properties
Readonly
anycast
anycast
:
string
Readonly
unicast
unicast
:
string
Methods
init
init
()
:
Promise
<
void
>
Returns
Promise
<
void
>
match
match
(
target
:
string
)
:
string
Parameters
target
:
string
Returns
string
on
Receive
onReceive
(
callback
:
(
msg
:
Message
)
=>
void
)
:
void
Parameters
callback
:
(
msg
:
Message
)
=>
void
Returns
void
stop
stop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
anycast
unicast
Methods
init
match
on
Receive
stop
@resonatehq/sdk
Loading...