Skip to content

Waiting for event queue to be processed before returning from the methods #347

Closed
@canonic-epicure

Description

@canonic-epicure

In my tests, it seems that keyboard typing methods returns immediately, w/o waiting the events queue to be processed by the system. That is - key type listeners are not activated yet, but the method already returns.

I've fixed this by adding arbitrary 50ms delay, but this is basically a race condition.

Any chance the methods can wait for events queue to be emptied?

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