Commit graph

2 commits

Author SHA1 Message Date
Lewis Baker
5ea774d1f9 Make more functions work with arbitrary awaitables.
- Change fmap, schedule_on, resume_on, make_shared_task work with
  arbitrary awaitables.
- Add make_task to wrap an arbitrary awaitable in a task<T>.
- Remove specialisation of fmap() for task<T>, shared_task<T> as
  the generalised version obsoletes it.
2017-09-13 08:26:43 +09:30
Lewis Baker
81de379342 Add schedule_on() and resume_on() functions. 2017-08-22 07:14:25 +09:30