UNPKG

@isaac-platform/isaac-integration-sdk

Version:

A Typescript SDK for integrating with ISAAC

25 lines 1.04 kB
import isaacConnection from "../controller/isaac.js"; import * as isaacBlocks from "./blocks/index.js"; import * as isaacPlaylists from "./playlists/index.js"; import * as isaacEvents from "./events/index.js"; import * as isaacPlayables from "./playables/index.js"; import { EventEmitter } from "events"; import { IsaacScheduleType } from "./types.js"; export declare class scheduleController extends EventEmitter { private pollingInterval; private tickInterval; private isaacConn; blocks: isaacBlocks.blockController; playlists: isaacPlaylists.playlistController; events: isaacEvents.EventController; playables: isaacPlayables.PlayableController; schedule: IsaacScheduleType | undefined; private pollScheduleInterval; private tickScheduleInterval; running: boolean; constructor(connection: isaacConnection); getSchedule(): Promise<IsaacScheduleType>; updateSchedule(): Promise<IsaacScheduleType | undefined>; scheduleTick(): Promise<void>; } //# sourceMappingURL=index.d.ts.map