Methods
- getModelState(stateFileName: string, __namedParameters?: { freeze?: boolean }): Promise<{ data: ModelSerializedOutput; userData: object }>
Parameters
stateFileName: string
__namedParameters: { freeze?: boolean } = {}
Returns Promise<{ data: ModelSerializedOutput; userData: object }>
- getResourceState(stateFileName: string, __namedParameters?: { freeze?: boolean }): Promise<{ data: ResourceSerializedOutput; userData: object }>
Parameters
stateFileName: string
__namedParameters: { freeze?: boolean } = {}
- getState(stateFileName: string, defaultValue?: any): Promise<Buffer>
Parameters
stateFileName: string
optionaldefaultValue: any
Returns Promise<Buffer>
Parameters
stateFileName: string
userData: object
Returns Promise<void>
Parameters
stateFileName: string
userData: object
Returns Promise<void>
- saveState(stateFileName: string, data: Buffer): Promise<void>
Parameters
stateFileName: string
data: Buffer
Returns Promise<void>