Skip to content

Why are synchronous activities recommended? #1468

@barraponto

Description

@barraponto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions