(session: Session.Info | undefined)
| 43 | } |
| 44 | |
| 45 | export function isChild(session: Session.Info | undefined): session is Session.Info & { |
| 46 | benchmark: BenchmarkSchema.ChildSession |
| 47 | } { |
| 48 | return session?.benchmark?.type === "child" |
| 49 | } |
| 50 | |
| 51 | export async function resolveParent(sessionID: string) { |
| 52 | const session = await Session.get(sessionID) |
no outgoing calls
no test coverage detected