§
    $Sêh¸  ã                   óN   — d dl Z d dlmZ d dlZddlmZ 	 d
ded         defd	„ZdS )é    N)ÚListé   )ÚidleFÚclientszpyrogram.ClientÚ
sequentialc              ƒ   ó4  K  — |r | D ]}|                      ¦   «         ƒ d{V —† Œnt          j        d„ | D ¦   «         Ž ƒ d{V —† t          ¦   «         ƒ d{V —† |r!| D ]}|                     ¦   «         ƒ d{V —† ŒdS t          j        d„ | D ¦   «         Ž ƒ d{V —† dS )a¡  Run multiple clients at once.

    This method can be used to run multiple clients at once and can be found directly in the ``pyrogram`` package.

    If you want to run a single client, you can use Client's bound method :meth:`~pyrogram.Client.run`.

    Parameters:
        clients (List of :obj:`~pyrogram.Client`):
            A list of client objects to run.

        sequential (``bool``, *optional*):
            Pass True to run clients sequentially.
            Defaults to False (run clients concurrently)

    Example:
        .. code-block:: python

            import asyncio
            from pyrogram import Client, compose


            async def main():
                apps = [
                    Client("account1"),
                    Client("account2"),
                    Client("account3")
                ]

                ...

                await compose(apps)


            asyncio.run(main())

    Nc                 ó6   — g | ]}|                      ¦   «         ‘ŒS © )Ústart©Ú.0Úcs     úh/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/pyrogram/methods/utilities/compose.pyú
<listcomp>zcompose.<locals>.<listcomp>F   s    € Ð:Ð:Ð:¨Q˜qŸwšw™yœyÐ:Ð:Ð:ó    c                 ó6   — g | ]}|                      ¦   «         ‘ŒS r
   )Ústopr   s     r   r   zcompose.<locals>.<listcomp>N   s    € Ð9Ð9Ð9¨A˜qŸvšv™xœxÐ9Ð9Ð9r   )r   ÚasyncioÚgatherr   r   )r   r   r   s      r   Úcomposer      s÷   è è € ðP ð <Øð 	ð 	ˆAØ—'’'‘)”)ˆOˆOˆOˆOˆOˆOˆOˆOð	õ ŒnÐ:Ð:°'Ð:Ñ:Ô:Ð;Ð;Ð;Ð;Ð;Ð;Ð;Ð;å
‰&Œ&€L€L€L€L€L€L€Làð ;Øð 	ð 	ˆAØ—&’&‘(”(ˆNˆNˆNˆNˆNˆNˆNˆNð	ð 	õ ŒnÐ9Ð9°Ð9Ñ9Ô9Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ð:r   )F)r   Útypingr   Úpyrogramr   Úboolr   r
   r   r   ú<module>r      s{   ðð& €€€Ø Ð Ð Ð Ð Ð à €€€Ø Ð Ð Ð Ð Ð ð
 ð4;ð 4;ØÐ#Ô$ð4;àð4;ð 4;ð 4;ð 4;ð 4;ð 4;r   