File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
src/FSharp.Control.TaskSeq Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2
2
Release notes:
3
3
0.4.x (unreleased)
4
4
- fix documentation, improve tooltips experience, add exception info to every method
5
+ - 'TaskSeq<'T>' now replaces 'taskSeq<'T>'
6
+ - DEPRECATED: type alias 'taskSeq<'T>' now raises warning FS0044 in favor of 'TaskSeq<'T>'
5
7
- BINARY INCOMPATIBLE: TaskSeq module members are now static members, source code compatible, #186
6
8
7
9
0.4.0-alpha.1
Original file line number Diff line number Diff line change @@ -41,8 +41,11 @@ module Internal = // cannot be marked with 'internal' scope
41
41
NotImplementedException " Abstract Class: method or property not implemented"
42
42
|> raise
43
43
44
+ [<Obsolete " From version 0.4.0 onward, 'taskSeq<'T>' is deprecated in favor of 'TaskSeq<'T>'. It will be removed in an upcoming release." >]
44
45
type taskSeq < 'T > = IAsyncEnumerable< 'T>
45
46
47
+ type TaskSeq < 'T > = IAsyncEnumerable< 'T>
48
+
46
49
47
50
[<NoComparison; NoEquality>]
48
51
type TaskSeqStateMachineData < 'T >() =
Original file line number Diff line number Diff line change @@ -25,10 +25,18 @@ module Internal =
25
25
val inline raiseNotImpl : unit -> 'a
26
26
27
27
/// <summary>
28
- /// Result of any <see cref="taskSeq" /> computation expression, alias for <see cref="T:System.IAsyncEnumerable<'T>" />.
28
+ /// The type <paramref name="taskSeq<_>" /> is deprecated since version 0.4.0,
29
+ /// please use <paramref name="TaskSeq<_>" /> in its stead. See <see cref="T:FSharp.Control.TaskSeq<_>" />.
29
30
/// </summary>
31
+ [<Obsolete " From version 0.4.0 onward, 'taskSeq<_>' is deprecated in favor of 'TaskSeq<_>'. It will be removed in an upcoming release." >]
30
32
type taskSeq < 'T > = IAsyncEnumerable< 'T>
31
33
34
+ /// <summary>
35
+ /// Represents a <see cref="task sequence" /> and is the output of using the <paramref name="taskSeq{...}" />
36
+ /// computation expression from this library. It is an alias for <see cref="T:System.IAsyncEnumerable<_>" />.
37
+ /// </summary>
38
+ type TaskSeq < 'T > = IAsyncEnumerable< 'T>
39
+
32
40
/// TaskSeqCode type alias of ResumableCode delegate type, specially recognized by the F# compiler
33
41
and ResumableTSC < 'T > = ResumableCode< TaskSeqStateMachineData< 'T>, unit>
34
42
You can’t perform that action at this time.
0 commit comments