Skip to content

Question: What is the difference between using #![apply(smol_macros::main!)] and ex.spawn as shown in the example, and using async_global_executor::block_on(async { }) and async_global_executor::spawn? #357

@stackinspector

Description

@stackinspector

Which approach is more recommended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions