Documentation

Meta::StartWithRunContext

Function

awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFunc@ func)

Starts a new yieldable coroutine from the given function. Function should be a declaration of 'void Func()'.

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdata@ func, ref userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata handle parameter. Function should be a declaration of 'void Func(ref@)'.

Meta::RunContext runContext

CoroutineFuncUserdata@ func

ref userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataInt64@ func, const int userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata signed integer. Function should be a declaration of 'void Func(int64)'.

Meta::RunContext runContext

CoroutineFuncUserdataInt64@ func

int userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataInt64@ func, const int64 userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata signed integer. Function should be a declaration of 'void Func(int64)'.

Meta::RunContext runContext

CoroutineFuncUserdataInt64@ func

int64 userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataUint64@ func, const uint userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata unsigned integer. Function should be a declaration of 'void Func(uint64)'.

Meta::RunContext runContext

CoroutineFuncUserdataUint64@ func

uint userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataUint64@ func, const uint64 userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata unsigned integer. Function should be a declaration of 'void Func(uint64)'.

Meta::RunContext runContext

CoroutineFuncUserdataUint64@ func

uint64 userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataDouble@ func, const double userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata floating point number. Function should be a declaration of 'void Func(double)'.

Meta::RunContext runContext

CoroutineFuncUserdataDouble@ func

double userdata

Returns awaitable@
awaitable@ Meta::StartWithRunContext(RunContext runContext, CoroutineFuncUserdataString@ func, const string&in userdata)

Starts a new yieldable coroutine from the given function which also provides a userdata string. Function should be a declaration of 'void Func(const string &in)'.

Returns awaitable@