Function Task

Summary

#include <lib/inc/drogon/utils/coroutine.h>

(1) Task(handle_type handle)

(2) Task(const Task &)=delete

(3) Task(Task &&other)

Function overload

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

Task(handle_type handle)

Description

No description yet.

Source

Lines 252-254 in lib/inc/drogon/utils/coroutine.h.

Task(handle_type handle) : coro_(handle)
{
}

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

Task(const Task &)=delete

Description

No description yet.

Source

Line 255 in lib/inc/drogon/utils/coroutine.h.

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

Task(Task &&other)

Description

No description yet.

Source

Lines 256-260 in lib/inc/drogon/utils/coroutine.h.

Task(Task && other)
{
    coro_ = other.coro_;
    other.coro_ = nullptr;
}





Add Discussion as Guest

Log in