Skip to content

可以移除 ViaCoroutine ? #161

@yanminhui

Description

@yanminhui

Search before asking

  • I searched the issues and found no similar issues.

What happened + What you expected to happen

每次调用 RescheduleLazy 为了恢复到调用前所在的上下文,会通过 ViaAsyncAwaiter 附带一个恢复的协程 ViaCoroutine
这个恢复的协程的逻辑是否可以合并到 FinalAwaiter,避免需要多调用这个协程?

async_simple

Reproduction way

Anything else

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

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