idleClose property

Duration? idleClose
final

How long a session may sit without a run before its host is stopped, or null to keep it until dispose.

An app has two sessions and keeps them; a backend opens one per caller session, and without this would hold an isolate — and, standalone, a Node child — for every caller it ever served. A stopped session starts again on its next run.

Implementation

final Duration? idleClose;