MCPcopy Create free account
hub / github.com/NathanPB/progress.js / eventsToken

Function eventsToken

docs/example/custom-token.ts:5–6  ·  view source on GitHub ↗
(event: string)

Source from the content-addressed store, hash-verified

3export const myCustomToken: Token = bar => `This is the bar ${bar.title}`
4
5export const eventsToken = (event: string): Token => bar =>
6 `${bar.listenerCount(event)} listeners bound`
7
8initSimpleBar({
9 bar: new ProgressBar({ total: 100 }),

Callers 1

custom-token.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected