mirror of https://github.com/tqdm/tqdm.git
contrib.utils_worker has no flush so no delay
This commit is contained in:
parent
60d916c14e
commit
283080b469
|
@ -49,7 +49,7 @@ class DiscordIO(MonoWorker):
|
||||||
class tqdm_discord(tqdm_auto):
|
class tqdm_discord(tqdm_auto):
|
||||||
"""
|
"""
|
||||||
Standard `tqdm.auto.tqdm` but also sends updates to a Discord bot.
|
Standard `tqdm.auto.tqdm` but also sends updates to a Discord bot.
|
||||||
May take a few seconds to create (`__init__`) and clear (`__del__`).
|
May take a few seconds to create (`__init__`).
|
||||||
|
|
||||||
>>> from tqdm.contrib.discord import tqdm, trange
|
>>> from tqdm.contrib.discord import tqdm, trange
|
||||||
>>> for i in tqdm(
|
>>> for i in tqdm(
|
||||||
|
|
|
@ -57,7 +57,7 @@ class TelegramIO(MonoWorker):
|
||||||
class tqdm_telegram(tqdm_auto):
|
class tqdm_telegram(tqdm_auto):
|
||||||
"""
|
"""
|
||||||
Standard `tqdm.auto.tqdm` but also sends updates to a Telegram bot.
|
Standard `tqdm.auto.tqdm` but also sends updates to a Telegram bot.
|
||||||
May take a few seconds to create (`__init__`) and clear (`__del__`).
|
May take a few seconds to create (`__init__`).
|
||||||
|
|
||||||
>>> from tqdm.contrib.telegram import tqdm, trange
|
>>> from tqdm.contrib.telegram import tqdm, trange
|
||||||
>>> for i in tqdm(
|
>>> for i in tqdm(
|
||||||
|
|
Loading…
Reference in New Issue