You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Communicates a request for cancellation. Ignores ObjectDisposedException
17
15
membercts.TryCancel()=
18
16
try
19
17
cts.Cancel()
20
-
with:? ObjectDisposedException ->
21
-
()
18
+
with
19
+
|:? ObjectDisposedException
20
+
|:? NullReferenceException ->()
22
21
23
-
/// Releases all resources used by the current instance of the System.Threading.CancellationTokenSource class.
24
22
membercts.TryDispose()=
25
-
try
26
-
cts.Dispose()
27
-
with_->
28
-
()
23
+
// try
24
+
cts.Dispose()
25
+
// with _ -> ()
26
+
29
27
30
28
typeTaskCompletionSource<'a>with
31
29
@@ -148,7 +146,7 @@ module AVal =
148
146
/// Creates an observable with the given object and will be executed whenever the object gets marked out-of-date. Note that it does not trigger when the object is currently out-of-date.
149
147
/// </summary>
150
148
/// <param name="aval">The aval to get out-of-date information from.</param>
/// Communicates a request for cancellation. Ignores ObjectDisposedException
9
+
memberTryCancel:unit ->unit
10
+
/// Releases all resources used by the current instance of the System.Threading.CancellationTokenSource class.
11
+
memberTryDispose:unit ->unit
12
+
5
13
type FSharp.Data.Adaptive.ChangeableHashMap<'Key, 'Value> with
6
14
7
15
/// <summary>
@@ -63,7 +71,7 @@ module AVal =
63
71
/// Creates an observable with the given object and will be executed whenever the object gets marked out-of-date. Note that it does not trigger when the object is currently out-of-date.
64
72
/// </summary>
65
73
/// <param name="aval">The aval to get out-of-date information from.</param>
66
-
valonOutOfDateWeak:aval:'a ->System.IObservable<'a>when 'a :>FSharp.Data.Adaptive.aval<'b>
74
+
valonOutOfDateWeak:aval:'a ->System.IObservable<'a>when 'a :>FSharp.Data.Adaptive.IAdaptiveObject
67
75
68
76
/// <summary>Creates an observable on the aval that will be executed whenever the avals value changed.</summary>
69
77
/// <param name="aval">The aval to get out-of-date information from.</param>
0 commit comments