Action overview
Added in v1.0.0
Table of contents
constructors
beep
Signature
export declare const beep: PromptAction<never, never>
Added in v1.0.0
nextFrame
Signature
export declare const nextFrame: <State>(state: State) => PromptAction<State, never>
Added in v1.0.0
submit
Signature
export declare const submit: <Output>(value: Output) => PromptAction<never, Output>
Added in v1.0.0
models
Beep (interface)
Signature
export interface Beep {
readonly _tag: "Beep"
}
Added in v1.0.0
NextFrame (interface)
Signature
export interface NextFrame<State> {
readonly _tag: "NextFrame"
readonly state: State
}
Added in v1.0.0
PromptAction (type alias)
Signature
export type PromptAction<State, Output> = Beep | NextFrame<State> | Submit<Output>
Added in v1.0.0
Submit (interface)
Signature
export interface Submit<Output> {
readonly _tag: "Submit"
readonly value: Output
}
Added in v1.0.0