Appearance
Class: GoalsService
Twitch Creator Goals initial state and real-time progress.
Constructors
Constructor
ts
new GoalsService(): GoalsService;Returns
GoalsService
Methods
getActive()
ts
getActive(): Promise<CreatorGoalsStatus>;Returns all currently active Creator Goals.
Returns
Promise<CreatorGoalsStatus>
onBegin()
ts
onBegin(callback): void;Parameters
callback
Returns
void
onEnd()
ts
onEnd(callback): void;Parameters
callback
Returns
void
onProgress()
ts
onProgress(callback): void;Parameters
callback
Returns
void