@minecraft
    Preparing search index...

    Class VolumeTaskPromise

    Represents a cancellable Editor task that resolves with a relative-volume result.

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    cancelled: boolean

    Whether cancellation was accepted for the task.

    progress: number

    The current normalized task progress from 0 to 1. Task groups report the average progress of their constituent tasks. Successful tasks report 1 after settlement; failed or cancelled tasks retain their last observed progress.

    The promise that resolves with the task's relative-volume result. If cancellation is accepted, the promise rejects with a TaskCancelledError.

    Methods