-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Table hooks #168
feat: Table hooks #168
Conversation
update: TableUpdate: The update to pass to the function. | ||
is_replay: True if the update is a replay, False otherwise. | ||
""" | ||
submit_task(executor_name, partial(_deferred_update, ctx, func)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too familiar with this submit_task
functionality. Will need to take a closer look...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should make a hook just for submitting tasks with the execution context, similar to how I made the use_render_queue
hook for submitting tasks on the render thread.
Fixes #112
Uses new python threading API from here
This is a quick example to see all of the hooks working