Skip to main content

Interface: SpecialPluginCallbackInfo

Methods

GetNextCard

GetNextCard(args): Promise<null | PluginQueueCardData>

Parameters

NameType
argsObject
args.cardsPracticednumber
args.mode"normal" | "practice-all" | "in-order"
args.numCardsRemainingnumber
args.subQueueIdundefined | string

Returns

Promise<null | PluginQueueCardData>


SRSScheduleCard

SRSScheduleCard(args): Promise<{ nextDate: number ; pluginData?: Record<string, any> }>

Parameters

NameType
argsObject
args.cardIdundefined | string
args.historyRepetitionStatus[]
args.remIdundefined | string
args.schedulerParametersRecord<string, unknown>

Returns

Promise<{ nextDate: number ; pluginData?: Record<string, any> }>