@vivliostyle/core
    Preparing search index...

    Class LoopBodyFrame

    Asynchronous execution frame. Corresponds to an asynchronous function invocation.

    Hierarchy (View Summary)

    • Frame<boolean>
      • LoopBodyFrame
    Index

    Constructors

    Properties

    callback: (p1: any) => void = null
    handler: (p1: Frame<any>, p2: Error) => void = null
    name: string
    parent: Frame<boolean>
    res: boolean = null
    state: FrameState
    task: Task

    Methods

    • Repeatedly execute the given function asynchronously until it returns false.

      Parameters

      Returns Result<boolean>

      holds true.

    • Yield to other tasks for the specified time.

      Parameters

      • delay: number

        in milliseconds.

      Returns Result<boolean>

      holds true

    • Parameters

      • callback: (p1: boolean) => void

      Returns void