(id: string, options?: Record<string, unknown>)
| 55 | } |
| 56 | |
| 57 | export function getPath (id: string, options?: Record<string, unknown>): string { |
| 58 | const idx = id.indexOf('?') |
| 59 | |
| 60 | return `${idx > -1 ? id.substring(0, idx) : id}${stringify(options)}` |
| 61 | } |
| 62 | |
| 63 | export function getOnReadyEventKey (path: string) { |
| 64 | return path + '.' + ON_READY |
no test coverage detected