shutdown abstract method

Future<bool> shutdown()

Terminate the process of AsyncExecutor.

The most ideal way to invoke shutdown method is wrapping it into StreamSubscription.onDone or StreamSubscription.onError.

Implementation

Future<bool> shutdown();