-
Notifications
You must be signed in to change notification settings - Fork 16
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
change worker api #82
Conversation
setFlags, setSource, returnDast
/** | ||
* Launch the DoenetCore webworker with the given source string and DAST tree. | ||
*/ | ||
launchCore: createLoggingAsyncThunk( | ||
"core/launchCore", | ||
getDast: createLoggingAsyncThunk( |
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.
Maybe refreshDast
? Since this isn't actually a getter.
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 feel like we'll have a different function with updates that will update/refresh the dast with just the new pieces. This returns the entire dast. What about calling it returnDast like it is on the worker side?
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.
Or retrieveDast
?
No description provided.