Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Apr 14, 2021
1 parent b37e594 commit 3aa3fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ There are to different ways to await the status. The first one is using the
`.status()` method, same like with the deno process.

```typescript
for await (const process: EndofingProcess of encoder) {
for await (const process: EncodingProcess of encoder) {
process.run();
const status: EncodingStatus = await process.status();
if (!status.success) {
Expand All @@ -170,7 +170,7 @@ status is success, if the status is not success or any encoding error occurs an
error event is emitted.
```typescript
for await (const process: EndofingProcess of encoder) {
for await (const process: EncodingProcess of encoder) {
process.run();
for await (const event: EncodingEvent of process) {
switch (event.type) {
Expand Down

0 comments on commit 3aa3fd7

Please sign in to comment.