Asynchronous programming

Description

In ACF18, introduce support for asynchronous programming via Future. A Future is an eventual result of an asynchronous operation.

Asynchronous programming is useful when you want to reduce the average response time of an application.

Example

Result: Example1_Result.PNG

Methods available with runAsync are:

UDF Method

UDF Method would be either a closure reference, closure, or a User Defined Method

Empty future

An empty future is an object, which can be explicitly marked as complete with a result value. It can be used in producer/consumer scenarios.

The methods available on an empty Future are:

Assignee

Michael Offner

Reporter

Pothys - MitrahSoft

Labels

Fix versions

Priority

New
Configure