-
Can a scheduled job be async? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@avazon The HostedServiceBase would need to include support for an async method (note the change from abstract to virtual methods which is a non-breaking change): ie.
and in the ExecuteAsync() method:
I think async support is a good idea for scheduled jobs |
Beta Was this translation helpful? Give feedback.
-
@avazon async support included in #3160 (which will be in next release) |
Beta Was this translation helpful? Give feedback.
@avazon The HostedServiceBase would need to include support for an async method (note the change from abstract to virtual methods which is a non-breaking change):
ie.
and in the ExecuteAsync() method:
I think async support is a good idea for scheduled jobs