Type a string of characters as individual key events, without blocking the main thread.
Behaves like keyStrokes(), but the key events are posted from a background task, so
JavaScript execution and the rest of Hammerspoon continue running while typing proceeds.
Parameters
text: string
The string to type
Returns Promise<void>
A Promise that resolves once every character has been posted.
Type a string of characters as individual key events, without blocking the main thread. Behaves like
keyStrokes(), but the key events are posted from a background task, so JavaScript execution and the rest of Hammerspoon continue running while typing proceeds.