Skip to main content Link Search Menu Expand Document (external link)

PodsRpc overview

Added in v1.0.0


Table of contents


layers

podsRpc

Given a function that resolves an RPC client, constructs a Pods service that uses RPC to communicate

Signature

export declare function podsRpc<R>(
  buildClient: (
    podAddress: PodAddress.PodAddress
  ) => RpcResolver.Client<
    RequestResolver.RequestResolver<Rpc.Request<ShardingServiceRpc.ShardingServiceRpcRequest>, never>
  >
): Layer.Layer<Pods.Pods, never, R>

Added in v1.0.0