Skip to content

Implement while(co_await next_frame) support #85

Description

@ImmutableOctet

Writing co_await with an empty initializer list {} or next_frame should be made to supply a true Boolean value on coroutine resume.

This would enable programming patterns like:

while(co_await next_frame)
{
	// ...
}

do
{
	// ...
}
while(co_await next_frame);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C++ Script APIFeatureNew feature or requestGood practiceIndicates a proposed change that would be seen as good practiceIdeaIdeas, concepts, etc. (for features without a clear scope yet)module: engineFor features that involve the `engine` module. (optional)

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions