@three-tile/lib
    Preparing search index...

    Function waitFor

    • 等待某个条件成立后继续执行

      Parameters

      • conditionFn: () => boolean

        返回 boolean 的条件函数

      • OptionalcheckInterval: number = 100

        检查间隔(毫秒)

      Returns Promise<void>

      • 当条件成立时 resolve