Gate48
Constructors
httpApiClientconstFunctional equivalent of Service — returns a tag value with .layer.HttpApiClientconstClass factory: Hyperlink Tag for an HttpApi client — no baked .layer.httpApiClientServiceconstClass factory: declare a typed HttpApi client with a baked-in .layer.makeconstCreate a scoped handle with .run only — no live observation, no RPC.makeRunnerconstGeneric runner tag + layer — no observation, no handle shape, no RPC.ServiceconstClass factory: tag + wire schemas + baked-in .layer + .configure.Layers & Serving
configureconstConfig-patch layer for a tag — merge with layer (Tag path).layerconstBuild a Layer from a tag and config — yields an observable toolkit service.layerMemoryconstAlias of layer.rateLimiterLayerconstSoft in-memory rate-limiter layer (built automatically when rateLimit is set and no ambient RateLimiterStore is present).serveconstServe this gate and grant its local instance from one materialization.serveMemoryconstAlias of serve.serveRemoteconstServe this gate remotely (served-only) — RPC handlers without granting the local instance.serveRemoteMemoryconstAlias of serveRemote.storefunctionRegister this gate on an app Store.Service — built-in analytics reads over run facts and state history (tier 3), with the tag's success / error wire slots.Models
ConfiginterfaceConfiguration for Gate.make — local scoped handle, no RPC.GateMetricsinterfaceA gate handle — the value yield MyGate produces.HandletypeObservable handle from Gate.make with observation disabled, or the local-only engine handle.HttpApiClientAdaptiveOptionsinterfaceOpt-in upstream adaptive 429 options for HttpApiClient.HttpApiClientConfiginterfaceConfiguration for HttpApiClient.make / HttpApiClient.Service.HttpApiClientLayerEffectConfiginterfaceConfiguration for HttpApiClient.layerEffect.HttpApiClientRuntimeConfiginterfaceRuntime options for httpApiClientLayer.HttpApiClientTagConfiginterfaceMint-time options for HttpApiClient (policy + nest key).InstanceSpectypeInstance spec for a gate typed by its wire schemas — namespaced short form of internal GateInstanceSpec (import as Gate → Gate.InstanceSpec).LayerConfiginterfaceLayer / serve config — the tag carries wire schemas; this supplies the gated effect.LayerEffecttypeGated effect for layer / serve — unit gates (void input) accept a bare Effect.Effect or () => Effect; parameterized gates use (input) => Effect.RateLimiterConsumeOptionstypeEffect's RateLimiter.consume options shape (key required).RateLimitOptionstypeEffect RateLimiter.consume / makeWithRateLimiter options for a gate (key optional — defaults to the gate hyperlink / tag id).RunHandletypeMinimal handle from Gate.make — .run only.RunnertypeA generic runner that wraps any effect with concurrency gating.RunnerConfiginterfaceConfiguration for Gate.makeRunner.ServiceConfiginterfaceFull Service config — wire schemas and the gated effect in one object.ServiceDefinitioninterfaceService factory result — tag surface plus baked-in layer and configure helpers.ServiceEffecttypeGated effect for Service — same rules as LayerEffect at the decoded type.StaticRuntypeStatic .run shortcut on Tag / Service — adds the tag to R.StatustypeLive gate status snapshot — namespaced short form of internal GateStatus (import as Gate → Gate.Status).TagDefinitiontypeTag factory result — Hyperlink tag + wire schemas + static StaticRun.TagSchemasinterfaceSchema-only options for Tag — pair with layer for the gated effect.WireSchemasinterfaceWire schemas shared by Tag and Service.