Pebble App Framework: Phone API
    Preparing search index...

    Function takeBack

    • Takes back the stamp of a call that never reached the host, since it spent nothing. Only a stamp with the same time and the same weight is taken, so a light call that failed in the same millisecond as a heavy one leaves the heavy one's stamp in place.

      Parameters

      • stamps: Stamp[]

        The stamps to take it from.

      • atMs: number

        When the call went out, as it was stamped.

      • weight: number = 1

        What it was stamped as, 1 when left out.

      Returns boolean

      True when a stamp was taken back, so the caller knows to save.