MCPcopy Create free account
hub / github.com/Effect-TS/effect / Empty

Function Empty

packages/effect/src/unstable/httpapi/HttpApiSchema.ts:133–133  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

131 * @since 4.0.0
132 */
133export const Empty = (code: number): Schema.Void => Schema.Void.pipe(status(code))
134
135/**
136 * Type of the `NoContent` schema, a void schema annotated with HTTP status code 204.

Callers 1

HttpApiSchema.tsFile · 0.70

Calls 2

statusFunction · 0.85
pipeMethod · 0.65

Tested by

no test coverage detected