glrs
github
ci
npm
Preparing search index...
SDK
SessionRepository
Type Alias SessionRepository
Durable session operations required by an SDK host.
type
SessionRepository
=
{
append
:
(
id
:
string
,
events
:
readonly
SessionEvent
[]
)
=>
Promise
<
void
>
;
create
:
(
cwd
:
string
)
=>
Promise
<
Session
>
;
fork
:
(
id
:
string
,
atEvent
?:
number
)
=>
Promise
<
Session
>
;
list
:
()
=>
Promise
<
Session
[]
>
;
load
:
(
id
:
string
)
=>
Promise
<
Session
|
null
>
;
save
:
(
session
:
Session
)
=>
Promise
<
void
>
;
}
Index
Properties
append
create
fork
list
load
save
Properties
append
append
:
(
id
:
string
,
events
:
readonly
SessionEvent
[]
)
=>
Promise
<
void
>
create
create
:
(
cwd
:
string
)
=>
Promise
<
Session
>
fork
fork
:
(
id
:
string
,
atEvent
?:
number
)
=>
Promise
<
Session
>
list
list
:
()
=>
Promise
<
Session
[]
>
load
load
:
(
id
:
string
)
=>
Promise
<
Session
|
null
>
save
save
:
(
session
:
Session
)
=>
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
append
create
fork
list
load
save
github
ci
npm
glrs
Loading...
Durable session operations required by an SDK host.