@@ -56,7 +56,7 @@ suspend fun <Req, Res> Client.callSuspend(request: Request<Req, Res>): Response<
5656 */
5757suspend fun <Req , Res > Request <Req , Res >.send (
5858 client : Client ,
59- delay : Duration ? = null
59+ delay : Duration ? = null,
6060): SendResponse <Res > {
6161 return client.sendSuspend(this , delay)
6262}
@@ -67,7 +67,7 @@ suspend fun <Req, Res> Request<Req, Res>.send(
6767 */
6868suspend fun <Req , Res > Client.sendSuspend (
6969 request : Request <Req , Res >,
70- delay : Duration ? = null
70+ delay : Duration ? = null,
7171): SendResponse <Res > {
7272 return this .sendAsync(request, delay?.toJavaDuration()).await()
7373}
@@ -81,15 +81,15 @@ suspend fun <Req, Res> Client.sendSuspend(
8181 */
8282suspend fun <Req , Res > WorkflowRequest <Req , Res >.submit (
8383 client : Client ,
84- delay : Duration ? = null
84+ delay : Duration ? = null,
8585): SendResponse <Res > {
8686 return client.submitSuspend(this , delay)
8787}
8888
8989/* * Submit a workflow, optionally providing an execution delay to wait for. */
9090suspend fun <Req , Res > Client.submitSuspend (
9191 request : WorkflowRequest <Req , Res >,
92- delay : Duration ? = null
92+ delay : Duration ? = null,
9393): SendResponse <Res > {
9494 return this .submitAsync(request, delay?.toJavaDuration()).await()
9595}
@@ -104,7 +104,7 @@ suspend fun <Req, Res> Client.submitSuspend(
104104suspend fun <T : Any > Client.AwakeableHandle.resolveSuspend (
105105 typeTag : TypeTag <T >,
106106 payload : T ,
107- options : RequestOptions = RequestOptions .DEFAULT
107+ options : RequestOptions = RequestOptions .DEFAULT ,
108108): Response <Void > {
109109 return this .resolveAsync(typeTag, payload, options).await()
110110}
@@ -117,7 +117,7 @@ suspend fun <T : Any> Client.AwakeableHandle.resolveSuspend(
117117 */
118118suspend inline fun <reified T : Any > Client.AwakeableHandle.resolveSuspend (
119119 payload : T ,
120- options : RequestOptions = RequestOptions .DEFAULT
120+ options : RequestOptions = RequestOptions .DEFAULT ,
121121): Response <Void > {
122122 return this .resolveSuspend(typeTag<T >(), payload, options)
123123}
@@ -130,7 +130,7 @@ suspend inline fun <reified T : Any> Client.AwakeableHandle.resolveSuspend(
130130 */
131131suspend fun Client.AwakeableHandle.rejectSuspend (
132132 reason : String ,
133- options : RequestOptions = RequestOptions .DEFAULT
133+ options : RequestOptions = RequestOptions .DEFAULT ,
134134): Response <Void > {
135135 return this .rejectAsync(reason, options).await()
136136}
@@ -180,7 +180,7 @@ suspend fun <T : Any?> Client.InvocationHandle<T>.getOutputSuspend(
180180 */
181181inline fun <reified Res > Client.idempotentInvocationHandle (
182182 target : Target ,
183- idempotencyKey : String
183+ idempotencyKey : String ,
184184): Client .IdempotentInvocationHandle <Res > {
185185 return this .idempotentInvocationHandle(target, idempotencyKey, typeTag<Res >())
186186}
@@ -218,7 +218,7 @@ suspend fun <T> Client.IdempotentInvocationHandle<T>.getOutputSuspend(
218218 */
219219inline fun <reified Res > Client.workflowHandle (
220220 workflowName : String ,
221- workflowId : String
221+ workflowId : String ,
222222): Client .WorkflowHandle <Res > {
223223 return this .workflowHandle(workflowName, workflowId, typeTag<Res >())
224224}
0 commit comments