(input: S["~type.make.in"], expected?: S["Type"])
| 211 | async function succeed(input: S["Type"]): Promise<void> |
| 212 | async function succeed(input: S["~type.make.in"], expected: S["Type"]): Promise<void> |
| 213 | async function succeed(input: S["~type.make.in"], expected?: S["Type"]) { |
| 214 | return Effect.runPromise(succeedEffect(input, arguments.length === 1 ? input : expected)) |
| 215 | } |
| 216 | function failEffect(input: unknown, message: string): Effect.Effect<void> { |
| 217 | return assertResult(() => makeEffect(input, options), Result.fail(message)) |
| 218 | } |
no outgoing calls