Transfers a browser canvas to the task's worker for drawing.
Future<void> attachOverlay(Object canvas);