readTextAsync

fun readTextAsync(): Promise<ERROR CLASS: Symbol not found for JsString>(source)

The readText() method of the Clipboard interface returns a Promise which fulfills with a copy of the textual contents of the system clipboard.

MDN Reference