Skip to content

createShardlensHttp

createShardlensHttp(options): ShardlensHttp

Defined in: packages/http/src/index.ts:160

Creates Shardlens for an HTTP-interaction bot. Cheap to call at module scope: nothing runs (no timers, no network) until the first interaction, which suits runtimes such as Cloudflare Workers that forbid I/O at startup.

ShardlensHttpOptions

ShardlensHttp