resumable property

bool resumable
final

True if the current session can be resumed at this point.

Resumption is not possible at some points in the session. For example, when the model is executing function calls or generating. Resuming the session (using a previous session token) in such a state will result in some data loss. In these cases, new_handle will be empty and resumable will be false.

Implementation

final bool resumable;