dagrs icon indicating copy to clipboard operation
dagrs copied to clipboard

async run in Action trait

Open skull8888888 opened this issue 2 years ago • 0 comments

I was wondering if there are any plan on adding async run to the Action trait. I have a custom impl of Action trait which involves calling some API. I tried passing handle of the tokio runtime to the env but it doesn't seem to be a good solution.

Maybe you have some advice on how to handle calling await function in run fn.

skull8888888 avatar Nov 07 '23 07:11 skull8888888