Using Async.StartAsTask with parameters, in F#

前端 未结 0 1242
执笔经年
执笔经年 2021-01-02 19:27

If I have the following, it works:

let myTask = 
    async {
        // do stuff
    }

Async.StartAsTask(myTask, cancellationToken = cancellationSource.Token         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题