Skip to content

Commit 79ae985

Browse files
committed
Removes deprecation warnings of now-obsoleted functions
1 parent 21f11af commit 79ae985

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,18 +291,18 @@ and [<NoComparison; NoEquality>] TaskSeq<'Machine, 'T
291291
// the Current value
292292
data.current <- ValueNone
293293

294-
ValueTask.FromResult result
294+
ValueTask.fromResult result
295295

296296
| ValueTaskSourceStatus.Faulted
297297
| ValueTaskSourceStatus.Canceled
298298
| ValueTaskSourceStatus.Pending as state ->
299299
Debug.logInfo ("at MoveNextAsyncResult: case ", state)
300300

301-
ValueTask.ofIValueTaskSource this version
301+
ValueTask.ofSource this version
302302
| _ ->
303303
Debug.logInfo "at MoveNextAsyncResult: Unexpected state"
304304
// assume it's a possibly new, not yet supported case, treat as default
305-
ValueTask.ofIValueTaskSource this version
305+
ValueTask.ofSource this version
306306

307307
and ResumableTSC<'T> = ResumableCode<TaskSeqStateMachineData<'T>, unit>
308308
and TaskSeqStateMachine<'T> = ResumableStateMachine<TaskSeqStateMachineData<'T>>

0 commit comments

Comments
 (0)