This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Module : lang.future

Module Overview

This module provides lang library operations on future values defined by the language specification 2020R1.

Functions

cancel

Requests cancellation of a future.