UNPKG

@rbxts/gamejoy

Version:

A simple class-based input library

12 lines (11 loc) 596 B
import { ActionLike, ActionLikeArray, RawActionEntry } from "../Definitions/Types"; import { BaseAction } from "../Class/BaseAction"; /** * Variant that synchronizes its action when placed on the highest hierarchy. * Useful when the `RunSynchronously` option is disabled but you want a specific action to be executed synchronously. */ export declare class SynchronousAction<A extends RawActionEntry> extends BaseAction { readonly RawAction: ActionLike<A> | ActionLikeArray<A>; constructor(RawAction: ActionLike<A> | ActionLikeArray<A>); protected OnConnected(): void; }