shutdown method

Future<void> shutdown()

Tears down the worker isolate. The instance is unusable afterwards.

Implementation

Future<void> shutdown() => _isolate.dispose();