code: public Future<Notice> send(Notice notice) {
      notice = this.filterNotice(notice);
      CompletableFuture<Notice> future = this.asyncSender.send(notice);
  
      final Notice finalNotice = notice;
      future.whenComplete(
          (value, exception) -> {
            this.applyHooks(finalNotice);
          });
  
      return future;
    }
docs: Asynchronously sends a Notice to Airbrake.