Quellcode durchsuchen

chore(client): mark mirrored interaction lifecycle

imccyu vor 1 Monat
Ursprung
Commit
e4fb885f3e
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      packages/client/ui-approval/src/client/index.ts

+ 2 - 0
packages/client/ui-approval/src/client/index.ts

@@ -30,6 +30,7 @@ type ClientApprovalRequest = Parameters<ApprovalListener>[0]
 type ClientApprovalNext = Parameters<ApprovalListener>[1]
 type ClientApprovalOutcome = Awaited<ReturnType<ApprovalListener>>
 
+/* jscpd:ignore-start -- Approval and Question intentionally mirror one Remote waterfall lifecycle. */
 /** Present one request until the user answers or its lifetime ends. */
 async function answerApproval(
   ctx: ClientContext,
@@ -65,6 +66,7 @@ async function answerApproval(
     completed.resolve()
   }
 }
+/* jscpd:ignore-end */
 
 /**
  * Install approval copy and the scoped waterfall consumer.