wormhole-foundation / relayer-engine

Other
39 stars 34 forks source link

Simple "Cron" style workflows #10

Open JoeHowarth opened 1 year ago

JoeHowarth commented 1 year ago

Allowing workflows to be kicked off by events other than VAAs coming in through the spy will allow more interesting utility plugins to be written. Examples include:

This could be as simple as a mapping like:

interface Job {
    interval: number, // ms 
    fn: () => Workflow,
}

interface Plugin {
    jobs(): Job[]
    ...
}
JoeHowarth commented 1 year ago

Partially fixed by #17

gabzim commented 1 year ago

I believe this is out of scope @JoeHowarth , would it be ok to close this?