Type alias Time<C, MS>

Time<C, MS>: {
    now: C extends RpcContext<MS> ? PFunc<(() => Promise<ChainTime>), {
        $: (() => Observable<ChainTime>);
    }> : never;
}

Type Parameters

Type declaration

  • now: C extends RpcContext<MS> ? PFunc<(() => Promise<ChainTime>), {
        $: (() => Observable<ChainTime>);
    }> : never

Generated using TypeDoc