Abort And Resurrect avatar

Abort And Resurrect

Try for free

No credit card required

View all Actors
Abort And Resurrect

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.

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.

Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • 2 stars

  • Created in Feb 2023

  • Modified 2 years ago

Categories