Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-729

Async event not CompletionStage friendly

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The goal of this ticket is to enable user to get injected the completion future instead of the raw event and return another completion stage (generic type ignored) to enable the "chain" to be synched.

      Here is a sample:

      1. fireAsync(persistEvent)
      2. observer implementation does: return future.thenCompose(db::doAsyncPersist)
      3. when the user gets back the result of the fireAsync the doAsyncPersist is completed.

            Unassigned Unassigned
            rmannibucau@gmail.com Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: