
Abort And Resurrect
Try for free
No credit card required
Go to Store

Abort And Resurrect
mnmkng/abort-and-resurrect
Try for free
No credit card required
Aborts actor runs in bulk and resurrects them with new input and options.
Developer
Maintained by Community
Actor Metrics
2 monthly users
No reviews yet
2 bookmarks
Created in Feb 2023
Modified 2 years ago
Categories
Abort & Resurrect with new input
This utility actor aborts selected actor runs and resurrects them with new input. This is done using the transformInput
function, which receives the original input as its first argument and should return the updated input for the actor run.
1function transformInput({ input, options }) { 2 input.foo = 'bar'; 3 options.memory = 2048; 4}
Where input
is the parsed INPUT
fetched from the run's key-value store and options
are resurrect API options.
1{ 2 build: 'latest', 3 memory: 1024, 4 timeout: 3600 5}
If you don't touch the options, the original options the actor started with will be used.