© 2026 Hedgehog Software, LLC
All fibers interrupted without errors
HttpApiEndpoint.post("debug", `/debug`) .setPayload( HttpApiSchema.MultipartStream( Schema.Struct({ pictures: Schema.optional(FilesSchema), }), ), ) .addSuccess(Schema.Struct({ ok: Schema.Literal(true) }))
.handle( "debug", Effect.fn(function* ({ path, payload }) { yield* Stream.runForEach(payload, (part) => Effect.logInfo(part)); return { ok: true } as const; }) )