How to convert to task?
See original GitHub issueProbably a stupid question, but I need to convert a Job
to a Task
because I’m using Giraffe, which is using Task
for its HttpHandler
s. How can I convert a job to a task? I can’t find any functions in Job
with the right signature (I can only find functions from Task
to Job
, not the other way).
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Cannot implicitly convert type 'string' to 'System.Threading. ...
First, the method is marked as async , which means the return type is wrapped in a Task , making the method compile....
Read more >Implicit conversion from T to Task<T> · Issue #15892
I would step back and look at it this way: If the method isn't async and isn't waiting on something else, why is...
Read more >Feature request: convert Task to Project : r/todoist
In the project, turn each subtask into a task by grabbing the gray handle and dragging it to the left. It will then...
Read more >Convert task to project, then leave task as a task within ...
I can do this manually by going back to “New Enquiries” and making the greyed-out task back into a task and then moving...
Read more >Convert an issue to a task in Adobe Workfront
Go to a project and click Issues in the left panel. · Click the issue you want to convert to go to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! I may not properly understand
Job
or Hopac; I’m currently experimenting with replacing all internalAsync
stuff in a framework of mine withJob
to see if I get better performance (there’s a lot of lifting non-async user code toAsync
all over the place which causes a bunch of allocations etc.)Thanks! Since I’m not used to the infixes, I found the below clearer: