spawn-ts API reference - v0.6.0
    Preparing search index...

    Function accumulatedCost

    • Accumulated compute cost in dollars = computeSeconds/3600 * pricePerHour. Uses total compute across the instance's life (not this boot), so repeated stop/start can't reset the cost clock — mirrors accumulatedComputeCost().

      Parameters

      Returns number