-
Notifications
You must be signed in to change notification settings - Fork 114
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
add glFilter and mutex #3685
add glFilter and mutex #3685
Conversation
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
e5fcbbf
to
f4f0233
Compare
467dadd
to
5cab1c7
Compare
d4f0944
to
0e4e365
Compare
const customAction = getCustomAction(); | ||
const customActionLoad = | ||
customAction?.actionId && actionsRegistry.get(customAction.actionId).load; | ||
if (!customActionLoad) { |
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 force 1 microTick all the time ?
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.
yep
const call = (fn, operationParams) => { | ||
const shorthandApplyDefs = getOperations(getShorthandActions()); | ||
const customAction = getCustomAction(); | ||
const customApplyDefs = (customAction && getOperations([customAction])) || []; |
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.
applyDefs ?
}); | ||
}) | ||
const results = await Promise.all( | ||
customApplyDefs.map((applyDef) => |
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.
???
}) | ||
) | ||
); | ||
return zip(customApplyDefs, results).map(([applyDef, result]) => { |
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.
???
4fda06a
to
d291012
Compare
d291012
to
636471b
Compare
No description provided.