Skip to content

Add MessagePumpUntilIdle #88

Description

@ProgramMax

Right now, a user can call into the message pump, which blocks until the program closes.

I would like a way to pump through any queued messages and then return. This would block as long as there are messages waiting.

The big win here is allowing heavy work which must happen on the main thread to be broken up to keep the main thread responsive.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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