export { compose, composePromises, pipe } from './compose'; export { curry, currySuper } from './curry'; export { partial } from './partial'; export { memoized, asyncMemoized } from './memoized'; export type { MemoizedFn, AsyncMemoizedFn } from './memoized'; /** * monad函数 */ export { ResponseMonad } from './monad/ResponseMonad'; export { Monad as monad, Monad } from './monad/monad'; /** * fullscreen函数 */ export { autoFullscreen, isFullscreen, fullscreen, exitFullscreen } from './fullscreen'; /** * 窗口尺寸 */ export { windowSize, pcZoom } from './windowSize'; export type { WindowSize } from './windowSize'; /** * 去抖 createDebounce 创建去抖动函数 主要用于创建hooks */ export { debounce, createDebounce, debounceOptions } from "./debounce"; export type { DebounceOptions } from "./debounce"; export { throttle, createThrottle, throttleOptions } from "./throttle"; export type { ThrottleOptions } from "./throttle"; /** * 使函数延迟执行 */ export { delay, asyncDelay, sleep } from "./delay"; /** * 操作检查 */ export { hasOperate } from "./hasOperate"; export type { OperateConfig } from "./hasOperate"; /** * 缓动函数 */ export { easingFuncs, animate } from "./easing"; export type { EasingType } from "./easing"; /** * 事件注册 */ export { on, off } from "./event"; /** * 函数重试 */ export { default as retry } from "./retry"; export type { RetryConfig, RetryPromise } from "./retry"; /** * 任务管理 */ export { promiseScheduler, PromiseTasks, FreeTasks, AsyncToSync } from "./task"; /** * 函数重栽 */ export { addMethod, createOverload } from "./overload";