effect-rpc
    Preparing search index...

    Interface RequestRegistry<T>

    A simple type-safe request registry that doesn't require module augmentation. The type safety is achieved through the return type of createRequests.

    interface RequestRegistry<T extends Record<string, any> = Record<string, any>> {
        getTag(): string;
        makeRequest<K extends string | number | symbol>(name: K): T[K];
    }

    Type Parameters

    • T extends Record<string, any> = Record<string, any>
    Index

    Methods