(refInput: string, options: { fallbackLabel?: string } = {})
| 134 | } |
| 135 | |
| 136 | export function ref(refInput: string, options: { fallbackLabel?: string } = {}): RefTarget { |
| 137 | return { |
| 138 | kind: 'ref', |
| 139 | ref: refInput, |
| 140 | ...(options.fallbackLabel ? { fallbackLabel: options.fallbackLabel } : {}), |
| 141 | }; |
| 142 | } |
| 143 | |
| 144 | const DEFAULT_TIMEOUT_MS = 10_000; |
| 145 | const POLL_INTERVAL_MS = 300; |
no outgoing calls