Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d761662b
Kaydet (Commit)
d761662b
authored
Ara 05, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
asyncore.loop() description contributed by Skip Montanaro.
This closes SF bug #489513.
üst
d331cb55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
libasyncore.tex
Doc/lib/libasyncore.tex
+14
-0
No files found.
Doc/lib/libasyncore.tex
Dosyayı görüntüle @
d761662b
...
...
@@ -56,6 +56,20 @@ network servers and clients a snap.
\end{tableii}
\end{classdesc}
\begin{funcdesc}
{
loop
}{
\optional
{
timeout
\optional
{
, use
_
poll
\optional
{
,
map
}}}}
Enter a polling loop that only terminates after all open channels
have been closed. All arguments are optional. The
\var
{
timeout
}
argument sets the timeout parameter for the appropriate
\function
{
select()
}
or
\function
{
poll()
}
call, measured in seconds;
the default is 30 seconds. The
\var
{
use
_
poll
}
parameter, if true,
indicates that
\function
{
poll()
}
should be used in preference to
\function
{
select()
}
(the default is false). The
\var
{
map
}
parameter
is a dictionary that gives a list of channels to watch. As channels
are closed they are deleted from their map. If
\var
{
map
}
is
omitted, a global map is used.
\end{funcdesc}
This set of user-level events is larger than the basics. The
full set of methods that can be overridden in your subclass are:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment