Returns the ValueTask or ValueTask string for an incoming-handler's result type.
(method: RpcMethod)
| 1475 | |
| 1476 | /** Returns the ValueTask<T> or ValueTask string for an incoming-handler's result type. */ |
| 1477 | function handlerTaskType(method: RpcMethod): string { |
| 1478 | const schema = getMethodResultSchema(method); |
| 1479 | return !isVoidSchema(schema) ? `ValueTask<${resolvedResultTypeName(method)}>` : "ValueTask"; |
| 1480 | } |
| 1481 | |
| 1482 | /** Returns the Task<T> or Task string for an outgoing-call wrapper's result type. */ |
| 1483 | function resultTaskType(method: RpcMethod): string { |
no test coverage detected
searching dependent graphs…