Resolves with the current clipboard text, or an empty string when no text is available; rejects if the operating-system clipboard cannot be accessed.
Writes text to the system clipboard, replacing its current content.
The text to place on the clipboard.
Resolves after the operating-system clipboard accepts the text; rejects if it cannot be accessed.
Reads the current text content of the system clipboard. Returns an empty string if no text is available.