-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tick block russian description Close #639 #646
Conversation
|
||
Блок `tick` служит для генерации регулярного события `tick`. Подписавшись на событие блока, можно использовать его для поллинга и синхронизации выполняемых операций. | ||
|
||
Блок реализован в технологии `vanilla.js` и подходит для использования в серверных и клиентских приложениях. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
«как на клиенте, так и на сервере»
|
||
## Интервал между событиями | ||
|
||
Частота, с которой блок генерирует событие `tick`, определяется значением приватной переменной `TICK_INTERVAL`. Значение переменной – целое число – интервал между событиями в миллисекундах. По умолчанию `TICK_INTERVAL = 50`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Написать про то, что TICK_INTERVAL
не меняется из вне
7f4c86f
to
557228f
Compare
All done. Squashed, rebased and ready to go. |
}) | ||
.start(); | ||
}, | ||
update = function() { ... }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update = function() { ... };
-> update = function() { /* ... */ };
All done. |
squash and rebase needed |
cda8649
to
6e0c881
Compare
Done. No rebase was needed. |
tick block russian description Close #639
No description provided.