Skip to content

Commit 8948874

Browse files
committed
Clarifying main thread waiting
1 parent 41df4a6 commit 8948874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/quickstarts/email/includes/send-email-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ executorService.submit(() -> {
289289
});
290290

291291
// In a real application, you might have a mechanism to keep the main thread alive.
292-
// For this sample we will keep the main thread alive for 30 seconds.
292+
// For this sample we will keep the main thread alive for 30 seconds to make sure the child thread has time to recieve the SUCCESSFULLY_COMPLETED status.
293293
try {
294294
Thread.sleep(MAIN_THREAD_WAIT_TIME.toMillis());
295295
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)