Returns the Task or Task string for an outgoing-call wrapper's result type.
(method: RpcMethod)
| 1481 | |
| 1482 | /** Returns the Task<T> or Task string for an outgoing-call wrapper's result type. */ |
| 1483 | function resultTaskType(method: RpcMethod): string { |
| 1484 | const schema = getMethodResultSchema(method); |
| 1485 | return !isVoidSchema(schema) ? `Task<${resolvedResultTypeName(method)}>` : "Task"; |
| 1486 | } |
| 1487 | |
| 1488 | function paramsTypeName(method: RpcMethod): string { |
| 1489 | return getCSharpSchemaTypeName(resolveMethodParamsSchema(method), `${typeToClassName(method.rpcMethod)}Request`); |
no test coverage detected
searching dependent graphs…