You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several API's within Shiny such as IJobManager.Schedule or IJobManager.Run look like they are synchronous when they actually operate asynchronously. This can lead to confusion where you might think you can initialize your jobs like:
However with them being async methods it is possible that the job may not be scheduled when Run is called. Adopting a Async suffix for async API's would be helpful to developers as it would be self evident that it's async.
Thanks for the suggestion Dan. I'm actually anti-postfix async on methods. The type defines the outcome in my opinion. I also mix between between observables & tasks throughout the project. I don't want to say "ThisObservable" and "ThisAsync" everywhere.
Description
Several API's within Shiny such as
IJobManager.Schedule
orIJobManager.Run
look like they are synchronous when they actually operate asynchronously. This can lead to confusion where you might think you can initialize your jobs like:However with them being async methods it is possible that the job may not be scheduled when Run is called. Adopting a Async suffix for async API's would be helpful to developers as it would be self evident that it's async.
Version of Library
The text was updated successfully, but these errors were encountered: