Task<A> constructor

const Task<A>(
  1. Future<A> _run()
)

Build a Task from a function returning a Future.

Implementation

const Task(this._run);