Skip to main content

Type Alias: SessionStrategy

SessionStrategy = object

Properties​

maxPromptBytes?​

readonly optional maxPromptBytes?: number


resumable​

readonly resumable: boolean


store​

readonly store: SessionStore

Methods​

notFound()?​

optional notFound(stderr): boolean

Parameters​

stderr​

string

Returns​

boolean


setModel()?​

optional setModel(io, model): Promise<boolean>

Parameters​

io​

SessionStdio

model​

string

Returns​

Promise<boolean>