Interface FinalCommandStep<T>

    • Method Detail

      • send

        ZeebeFuture<T> send()
        Sends the command to the Zeebe broker. This operation is asynchronous. In case of success, the future returns the event that was generated by the Zeebe broker in response to the command.

        Call ZeebeFuture.join() to wait until the response is available.

         Future<JobEvent> future = command.send();
         JobEvent event = future.join();
         
        Returns:
        a future tracking state of success/failure of the command.