BridgeWindowCloseResult record

Namespace Runic.Application.Views · Runic.Application 0.7.0-preview.5

public sealed record BridgeWindowCloseResult : IEquatable<BridgeWindowCloseResult>

Inherits or implements IEquatable.

The admission result of a graceful Window or content-session close.

Parameters

Drained

Whether every accepted operation reached a terminal result within the timeout.

RemainingOperations

Operations still running at the timeout. They were asked to cancel.

Completion

Completes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.

Constructors

BridgeWindowCloseResult

public BridgeWindowCloseResult(bool Drained, int RemainingOperations, Task Completion)

The admission result of a graceful Window or content-session close.

Parameters

Drained

Whether every accepted operation reached a terminal result within the timeout.

RemainingOperations

Operations still running at the timeout. They were asked to cancel.

Completion

Completes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.

Properties

Completion

public Task Completion { get; init; }

Completes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.

Drained

public bool Drained { get; init; }

Whether every accepted operation reached a terminal result within the timeout.

RemainingOperations

public int RemainingOperations { get; init; }

Operations still running at the timeout. They were asked to cancel.