dannyelo
dannyelo4mo ago

Call internalAction in 'use node' environment, from a mutation

Hello, how can I call internalAction from a mutation, In the mutation ctx I don't have any option to do it. Is this possible?
2 Replies
ballingt
ballingt4mo ago
You can schedule a internalAction to run after a mutation with ctx.scheduler https://docs.convex.dev/scheduling/scheduled-functions
Scheduled Functions | Convex Developer Hub
Convex allows you to schedule functions to run in the future. This allows you to
dannyelo
dannyeloOP4mo ago
Thank you @ballingt !!

Did you find this page helpful?