lite-ts-rpcex
v11.9.4
Published
```typescript const cache: CacheBase; const rpc: RpcBase; const configLoader: ConfigLoaderBase = new RpcConfigLoader(cache, rpc); ```
Downloads
16
Readme
代码
ConfigLoaderBase - 配置加载器
const cache: CacheBase;
const rpc: RpcBase;
const configLoader: ConfigLoaderBase = new RpcConfigLoader(cache, rpc);
EnumLoadDelegate - 枚举获取委托
- buildRpcEnumLoad - rpc枚举加载
const cache: CacheBase;
const rpc: RpcBase;
const buildEnumItem: (entry: T, enumName: string) => EnumItem = entry => entry;
const loadFunc = buildRpcEnumLoad(cache, rpc, buildEnumItem);