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
16
membercts.TryCancel()=
18
17
try
19
18
cts.Cancel()
20
-
with:? ObjectDisposedException ->
21
-
()
19
+
with
20
+
|:? ObjectDisposedException
21
+
|:? NullReferenceException ->()
22
22
23
-
/// Releases all resources used by the current instance of the System.Threading.CancellationTokenSource class.
24
23
membercts.TryDispose()=
25
-
try
26
-
cts.Dispose()
27
-
with_->
28
-
()
24
+
// try
25
+
cts.Dispose()
26
+
// with _ -> ()
27
+
29
28
30
29
typeTaskCompletionSource<'a>with
31
30
@@ -148,7 +147,7 @@ module AVal =
148
147
/// 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
148
/// </summary>
150
149
/// <paramname="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
/// <paramname="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
/// <paramname="aval">The aval to get out-of-date information from.</param>
0 commit comments