36 lines
499 B
Markdown
36 lines
499 B
Markdown
|
---
|
||
|
title: danog\MadelineProto\Loop\APILoop: API loop trait.
|
||
|
description:
|
||
|
|
||
|
---
|
||
|
# `danog\MadelineProto\Loop\APILoop`
|
||
|
[Back to index](../../../index.md)
|
||
|
|
||
|
> Author: Daniil Gentili <daniil@daniil.it>
|
||
|
|
||
|
|
||
|
API loop trait.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
||
|
## Method list:
|
||
|
* `start(): bool`
|
||
|
* `isRunning(): bool`
|
||
|
|
||
|
## Methods:
|
||
|
### `start(): bool`
|
||
|
|
||
|
Start the loop.
|
||
|
Returns false if the loop is already running.
|
||
|
|
||
|
|
||
|
### `isRunning(): bool`
|
||
|
|
||
|
Check whether loop is running.
|
||
|
|
||
|
|
||
|
|