locked
What's the different between task<T> and T in Async function'r return type?

    Question

  • Hi all,

    Async function can return value or a task object( )
    Ex:
    Value:
    .then([=](T){})

    task object:
    .then([=](task<T>){})

    What's different between them?
    Can describe this knowledge for me?
    Thanks

    Friday, October 26, 2012 7:52 AM

Answers