Web Dev CodyW
Convex Community3y ago
16 replies
Web Dev Cody

Using `crypto` in a mutation

is it possible to syncronously invoke an action from a mutation? I have a use case where I'm trying to do a jwt verify on a mutation, but it doesn't work because I need a node environment with the crypto package. I know you can use the scheduler to invoke an action from a mutation, but I really want the mutation to wait until the results are done of the jwt verify
Was this page helpful?