Skip to content

Spawn not executing when creating multiple runtimes #347

@manishrjain

Description

@manishrjain

Following from issue #335 , I created multiple runtimes encapsulated in a singleton struct, so I can spawn the right functions on the right runtime. However, I quickly encountered that these functions weren't getting executed, because the runtime is scheduling on the main thread as well, which isn't available. The fix was to skip the main thread. See this commit in my fork of zio:

manishrjain@2c945ad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions