ComputeResult

interface ComputeResult<T>

exported from runtime.d

Type parameters

T

Properties

Property

Type

Description

bucketMaximum

number

Use bucketMaximumMs .

bucketMaximumMs

number

Total CPU milliseconds available to compute jobs in this execution (10000ms).

bucketRemainingMs

number

Remaining CPU milliseconds available to compute jobs in this execution.

result

T

usedCpuMs

number

CPU milliseconds charged to this job, rounded up to the next millisecond.

usedWallMs

number

Wall-clock milliseconds spent waiting for the callback to settle.