Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement metamethod __await #437

Open
Sygmei opened this issue Nov 5, 2022 · 0 comments
Open

Implement metamethod __await #437

Sygmei opened this issue Nov 5, 2022 · 0 comments
Labels
feature The issue is about a new incoming / requested feature
Projects

Comments

@Sygmei
Copy link
Member

Sygmei commented Nov 5, 2022

This fake "metamethod" should define behaviour when calling ctx.waitfor inside a Task

This could be useful for Tweens :

function Task.DoSomething(ctx)
    ctx:wait_for(my_tween);
end
@Sygmei Sygmei added the feature The issue is about a new incoming / requested feature label Nov 5, 2022
@Sygmei Sygmei added this to To do in Version 0.6 via automation Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature The issue is about a new incoming / requested feature
Projects
Version 0.6
  
To do
Development

No branches or pull requests

1 participant