When return value is non-null, a reply is sent using the reply-queue.
Future<Map<String, dynamic>?> onMessage(String invocation, dynamic payload);