cursorTo method

bool cursorTo(
  1. num x, [
  2. num y,
  3. void callback()
])

Moves this stream's cursor to the specified position.

Returns false if the stream wishes for the calling code to wait for the 'drain' event to be emitted before continuing to write additional data; otherwise returns true.

Implementation

external bool cursorTo(num x, [num y, void Function() callback]);