UNPKG

android-bot

Version:

Android-bot is built on the AutoBot JavaScript library and provides features such as wireless screen casting and real-time control within a local network, key simulation, screen recording, screenshot capture, layout analysis, file management, application

22 lines (21 loc) 514 B
declare function isNode(): boolean; declare function timeout(time?: number): Promise<unknown>; /** * 防抖动 * * @export * @param {*} fn 方法 * @param {*} wait 多少毫秒不调用后执行一次 * @returns */ declare function debounce(func: any, wait: any): () => void; /** * 节流 * * @export * @param {*} func 方法 * @param {*} delay 每隔多少毫秒执行一次 * @returns */ declare function throttle(func: any, delay: any): () => void; export { isNode, timeout, debounce, throttle };