Method ListenWhenUnloaded
ListenWhenUnloaded(Window)
Creates an observable sequence that emits a single Unit value when the Window is unloaded.
Declaration
public static IObservable<Unit> ListenWhenUnloaded(this Window window)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | window | The Window to observe for unloading. |
Returns
| Type | Description |
|---|---|
| IObservable<Unit> | An observable sequence that emits a single Unit value when the Window is unloaded. |