NabtoCallback.run()

DESCRIPTION

Function called when the async operation is completed.

Exceptions thrown will be ignored by the caller as the caller has no meaningful way to handle the exception.

DECLARATION

    void run(int errorCode, Optional<T> arg)

PARAMETERS

errorCode:
The resulting error code of the operation.
arg:
Argument containing the resulting data if any.