Package: @effect/platform-bun
Module: BunHttpServer
Creates the Bun HTTP server and support-services layer from configurable serve options.
Signature
declare const layerConfig: <R extends string>(options: Config.Wrap<ServeOptions<R> & { readonly disablePreemptiveShutdown?: boolean | undefined; readonly gracefulShutdownTimeout?: Duration.Input | undefined; }>) => Layer.Layer<Server.HttpServer | HttpPlatform | FileSystem.FileSystem | Etag.Generator | Path.Path, ConfigError>
Since v4.0.0