Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297183

Add support for async / await

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      Javascript has an excellent feature for dealing with asynchronous programming: async/await. Calling some method with "await" makes the current operation to go on pause until the called method is resolved asynchronously, returning the execution later when the result value is resolved.

      Now with virtual threads in Java that sounds more feasible than ever so that we can write asynchronous code in a synchronous way, making it easier to code and more readable/understandable than piping commands in a reactive way or with java Futures.


      Attachments

        Activity

          People

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: