Iskra API Reference
    Preparing search index...

    Interface FeatureRegistry

    The type kernel.getFeature(name) returns for each built-in feature name, so features can use each other without casts (getFeature("cache")?.client).

    A feature of your own can be added with declaration merging:

    declare module "@iskra-bun/web-kit" {
    interface FeatureRegistry {
    audit: AuditFeature;
    }
    }
    Index
    db: DbFeature<Record<string, unknown>>
    "error-handler": ErrorHandlerFeature
    "otel-tracing": OtelTracingFeature
    permissions: PermissionsFeature
    "rate-limit": RateLimitFeature
    "request-id": RequestIdFeature