listener method
Implementation
@override
void listener(Object? value) {
if (value == null) {
reload();
} else if (value is MessageHubMessage) {
messageHub.inbound.sink.add(value.value);
} else if (value is bool) {
close(force: value);
} else {
logger?.warning('$isolateName received unsupported message: $value');
}
}