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
Copy file name to clipboardExpand all lines: src/FSharp.Control.TaskSeq/Utils.fs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,10 @@ module ValueTask =
25
25
letTrue= ValueTask<bool>true
26
26
27
27
/// Creates a ValueTask with the supplied result of the successful operation.
28
-
let inlinefromResult(x:'T)= ValueTask<'T>x
28
+
let inlinefromResult(value:'T)= ValueTask<'T>value
29
29
30
30
[<Obsolete "From version 0.4.0 onward, 'ValueTask.FromResult' is deprecated in favor of 'ValueTask.fromResult'. It will be removed in an upcoming release.">]
31
-
let inlineFromResult(x:'T)= ValueTask<'T>x
31
+
let inlineFromResult(value:'T)= ValueTask<'T>value
32
32
33
33
/// Creates a ValueTask with an IValueTaskSource representing the operation
34
34
let inlineofSource taskSource version = ValueTask<bool>(taskSource, version)
Copy file name to clipboardExpand all lines: src/FSharp.Control.TaskSeq/Utils.fsi
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,14 @@ module ValueTask =
20
20
valTrue:ValueTask<bool>
21
21
22
22
/// Creates a ValueTask with the supplied result of the successful operation.
23
-
val inlinefromResult:x:'T ->ValueTask<'T>
23
+
val inlinefromResult:value:'T ->ValueTask<'T>
24
24
25
25
/// <summary>
26
26
/// The function <paramref name="FromResult" /> is deprecated since version 0.4.0,
27
27
/// please use <paramref name="fromSource" /> in its stead. See <see cref="T:FSharp.Control.ValueTask.fromResult" />.
28
28
/// </summary>
29
29
[<Obsolete "From version 0.4.0 onward, 'ValueTask.FromResult' is deprecated in favor of 'ValueTask.fromResult'. It will be removed in an upcoming release.">]
30
-
val inlineFromResult:x:'T ->ValueTask<'T>
30
+
val inlineFromResult:value:'T ->ValueTask<'T>
31
31
32
32
/// <summary>
33
33
/// Initialized a new instance of <see cref="ValueTask" /> with an <see cref="IValueTaskSource" /> representing
0 commit comments