Skip to content

Commit c060b79

Browse files
committed
Remove AwaiterOfResult
1 parent 819fbc0 commit c060b79

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/IcedTasks/TaskLike.fs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ type Awaiter<'Awaiter, 'TResult
1919
and 'Awaiter: (member get_IsCompleted: unit -> bool)
2020
and 'Awaiter: (member GetResult: unit -> 'TResult)> = 'Awaiter
2121

22-
/// A structure that looks like an Awaiter that returns a Result type
23-
type AwaiterOfResult<'Awaiter, 'TResult, 'Error
24-
when 'Awaiter :> ICriticalNotifyCompletion
25-
and 'Awaiter: (member get_IsCompleted: unit -> bool)
26-
and 'Awaiter: (member GetResult: unit -> Result<'TResult, 'Error>)> = 'Awaiter
27-
28-
type CancellableAwaiter<'Awaiter, 'TResult when Awaiter<'Awaiter, 'TResult>> =
29-
CancellationToken -> Awaiter<'Awaiter, 'TResult>
30-
3122
/// Functions for Awaiters
3223
type Awaiter =
3324
/// Gets a value that indicates whether the asynchronous task has completed

0 commit comments

Comments
 (0)