From 9a6f6e5b8b3090a27abaaa12c195d8493b376f6b Mon Sep 17 00:00:00 2001 From: Jeremy Vyska <35526546+JeremyVyska@users.noreply.github.com> Date: Tue, 5 Apr 2022 14:31:07 +0200 Subject: [PATCH] Very minor language tweaks Otherwise, solid :) --- content/docs/patterns/command-queue/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/patterns/command-queue/index.md b/content/docs/patterns/command-queue/index.md index 373a2727..036d080f 100644 --- a/content/docs/patterns/command-queue/index.md +++ b/content/docs/patterns/command-queue/index.md @@ -15,7 +15,7 @@ Sometimes its neccassary to perform multiple processes in Business Central, for ## Description The pattern is ideal for executing several independent processes in succession. Since the processes are independent, each process must take care of error handling itself. -The command queue should not be used to control a single process. Also it is important to know that the queue is just in the memory so if the service gets restartet the queue is gone and has to be rebuild +The command queue should not be used to control a single process. Also it is important to know that the queue is just in the memory so if the service gets restarted the queue is gone and has to be rebuilt. ## The Pattern To structure this problem we can use the "Command Queue" pattern. The pattern consist of two main parts the queue and the command interface @@ -104,7 +104,7 @@ codeunit 50102 "QueueEntry" } ``` -As we see the queue entry stores a command, since the command is an interface we can hide each business logic behind +As we see the queue entry stores a command, since the command is an interface we can hide each business logic behind. ## Benefits The logical flow is very easy to adopt, it is even possible to add entries to the queue while it is processed.