( /** * The entity type name. */ type: Type, /** * The schema definition for messages that the entity is capable of * processing. */ protocol: Rpcs )
| 450 | * @since 4.0.0 |
| 451 | */ |
| 452 | export const make = <const Type extends string, Rpcs extends ReadonlyArray<Rpc.Any>>( |
| 453 | /** |
| 454 | * The entity type name. |
| 455 | */ |
| 456 | type: Type, |
| 457 | /** |
| 458 | * The schema definition for messages that the entity is capable of |
| 459 | * processing. |
| 460 | */ |
| 461 | protocol: Rpcs |
| 462 | ): Entity<Type, Rpcs[number]> => fromRpcGroup(type, RpcGroup.make(...protocol)) |
| 463 | |
| 464 | /** |
| 465 | * Service tag for the entity address currently being processed. |
no test coverage detected