Builds a contract-faithful IRequestContext for unit-testing middleware
and handlers in isolation (no started app needed).
Replicates the kernel's internal createRequestContext construction:
id from runtime.uuid(), startTime from runtime.hrtime() (monotonic),
signal from a never-aborting AbortController. All fields are
overridable via options.
Builds a contract-faithful
IRequestContextfor unit-testing middleware and handlers in isolation (no started app needed).Replicates the kernel's internal
createRequestContextconstruction:idfromruntime.uuid(),startTimefromruntime.hrtime()(monotonic),signalfrom a never-abortingAbortController. All fields are overridable viaoptions.