from README.md:
The say_hello_activity is synchronous which is the recommended activity type (see "Types of Activities" below), but it can be async
However a few lines below, asynchronous activities are described as much more performant. Also, handling any sync tasks requires the Worker to be created with an explicit executor parameter.
It seems like async activities are expected and sync ones should be exceptional.
from README.md:
However a few lines below, asynchronous activities are described as much more performant. Also, handling any sync tasks requires the Worker to be created with an explicit
executorparameter.It seems like async activities are expected and sync ones should be exceptional.