Actor.prototype._saveState(opts: SaveStateOptions): Promise<void>
Forces the state to get saved.
This is helpful if running a long task that may fail later or when running a background job that updates the state.
opts: SaveStateOptions
- Options for saving the state.
Promise<void>