* Prepares a string to be copied later. This is useful for large strings * which take too long to successfully render and be copied in the same tick. * * The caller must call `destroy` on the returned `PendingCopy`. * * @param text The string to copy. * @returns the pending copy op
(text: string)
| 40 | * @returns the pending copy operation. |
| 41 | */ |
| 42 | beginCopy(text: string): PendingCopy { |
| 43 | return new PendingCopy(text, this._document); |
| 44 | } |
| 45 | } |
no outgoing calls
no test coverage detected