dispose abstract method

Future<void> dispose()

Disposes of the worker, releasing any resources.

Implementation

Future<void> dispose();