Function
makeClient
(entity: Entity<Type, Rpcs>)
Source from the content-addressed store, hash-verified
| 1475 | ) |
| 1476 | |
| 1477 | const makeClient = <Type extends string, Rpcs extends Rpc.Any>(entity: Entity<Type, Rpcs>): Effect.Effect< |
| 1478 | ( |
| 1479 | entityId: string |
| 1480 | ) => RpcClient.RpcClient.From<Rpcs, MailboxFull | AlreadyProcessingMessage | EntityNotAssignedToRunner> |
| 1481 | > => clients.get(entity) as any |
| 1482 | |
| 1483 | const clientRespondDiscard = (_reply: Reply.Reply<any>) => Effect.void |
| 1484 | |
Tested by
no test coverage detected