Interface BroadcastCallback<T>

    • Method Detail

      • onComplete

        void onComplete​(Throwable err,
                        BroadcastResult<T> result)
        Called when the broadcast operation gets completed either successfully or with an error.

        If operation completes with a fatal error (f.e channel is closed) then err parameter will hold the error cause and result parameter will be null. Otherwise err parameter will be null and result parameter will hold the broadcast operation result.

        Parameters:
        err - Error (null if operation was successful).
        result - Broadcast operation result (null if operation failed).