* Builds a terminal reply schema from the exit schema of an RPC. * * @since 4.0.0
(
rpc: R
)
| 321 | * @since 4.0.0 |
| 322 | */ |
| 323 | static schema<R extends Rpc.Any>( |
| 324 | rpc: R |
| 325 | ): Schema.declareConstructor< |
| 326 | WithExit<R>, |
| 327 | WithExit<R>, |
| 328 | readonly [Schema.Exit<Rpc.SuccessExitSchema<R>, Rpc.ErrorExitSchema<R>, Rpc.DefectSchema>] |
| 329 | > { |
| 330 | return this.schemaFrom(Rpc.exitSchema(rpc)) |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * Builds a terminal reply schema that validates the encoded exit value. |
nothing calls this directly
no test coverage detected