1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-05-31 22:09:37 +02:00

style fix

This commit is contained in:
Sergey Konstantinov 2023-09-22 09:45:51 +03:00
parent 9e534d3a47
commit e23823f014
2 changed files with 9 additions and 9 deletions

View File

@ -130,10 +130,10 @@ With this approach, we can implement not only locks, but also various scenarios
```typescript ```typescript
lock = await this.acquireLock( lock = await this.acquireLock(
'offerFullView', '10s', { 'offerFullView', '10s', {
// Who is trying to acquire a lock // Who is trying to acquire a lock
// and for what reason // and for what reason
reason: 'userSelectOffer', reason: 'userSelectOffer',
offer offer
} }
); );
``` ```

View File

@ -130,11 +130,11 @@ class SearchBoxComposer {
```typescript ```typescript
lock = await this.acquireLock( lock = await this.acquireLock(
'offerFullView', '10s', { 'offerFullView', '10s', {
// Добавляем описание, // Добавляем описание,
// кто и зачем пытается // кто и зачем пытается
// выполнить блокировку // выполнить блокировку
reason: 'userSelectOffer', reason: 'userSelectOffer',
offer offer
} }
); );
``` ```