@adcp/sdk API Reference - v7.9.0
Documentation
GitHub
npm
Preparing search index...
CursorStore
Interface CursorStore
Abstraction for persisting the event feed cursor between restarts.
interface
CursorStore
{
getCursor
()
:
Promise
<
string
|
null
>
;
setCursor
(
cursor
:
string
)
:
Promise
<
void
>
;
}
Implemented by
FileCursorStore
InMemoryCursorStore
Index
Methods
get
Cursor
set
Cursor
Methods
get
Cursor
getCursor
()
:
Promise
<
string
|
null
>
Returns
Promise
<
string
|
null
>
set
Cursor
setCursor
(
cursor
:
string
)
:
Promise
<
void
>
Parameters
cursor
:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Cursor
set
Cursor
Documentation
GitHub
npm
@adcp/sdk API Reference - v7.9.0
Loading...
Abstraction for persisting the event feed cursor between restarts.