Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.
This repository was archived by the owner on May 31, 2021. It is now read-only.

hello clock example #28

@vahtras

Description

@vahtras

The text describes two coroutines that run concurrently

They run for ten minutes, during which the first coroutine is scheduled to run every second, while the second is scheduled to run every minute.

I interpret this text as if both will run during ten minutes and then stop. What appears to happen though is that the second function, print_every_minute, runs for ten minutes while the first function print_every_second goes on for ever. If this is the expected behavior for this piece of code, I find the text a bit misleading to an async novice like me and it could be clarified.

Best regards,
Olav

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