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

Async event not CompletionStage friendly

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: