ProjectBrowserSession constructor
ProjectBrowserSession({
- required ProjectOperationProfile profile,
- required Directory workspace,
- required ProcessLeaseRegistry leaseRegistry,
- String? leaseId,
- ProcessLiveness? liveness,
- ProcessTreeProbe? treeProbe,
- Duration readinessTimeout = const Duration(seconds: 30),
- Duration stopGrace = const Duration(seconds: 3),
Creates a session.
Implementation
ProjectBrowserSession({
required this.profile,
required this.workspace,
required this.leaseRegistry,
this.leaseId,
ProcessLiveness? liveness,
ProcessTreeProbe? treeProbe,
this.readinessTimeout = const Duration(seconds: 30),
this.stopGrace = const Duration(seconds: 3),
}) : liveness = liveness ?? const HostProcessLiveness(),
treeProbe = treeProbe ?? const HostProcessTreeProbe();