LocalCompletionCallback typedef
Calls when a command is processed using KamomeClient#execute(WithMap) method.
An error
is not null if the process of the command is failed.
Implementation
typedef LocalCompletionCallback = void Function(Object? result, String? error);