SynertyPeek
3.4.0
Contents:
How to Use Peek Documentation
Overview
Tutorials
Peek Plugin Tutorial
Twisted Python Tutorial
Understanding Twisted
Understanding Deferreds
Introduction to Deferred
Deferred Inline Callbacks
Deferred Callback Propagation
Delaying Deferreds
Deferred Failures
Cancelling a Deferred
Pre-Called Deferreds
Timing-Out a Deferred
Using The DeferredList
Using the Deferred Semaphore
Chaining Deferreds
Common Gotchas
Twisted Challenges
Understanding VortexPy
Python Gotchas
ReStructuredText Cheat Sheet
Setup OS Requirements
Deploy Peek Release
Administration
Capacitor App
Peek Development
Troubleshooting
Utilities
API Reference
Release Notes
SynertyPeek
Docs
»
Tutorials
»
Twisted Python Tutorial
»
Understanding Deferreds
View page source
Understanding Deferreds
ΒΆ
Contents:
Introduction to Deferred
What is a Deferred?
A Synchronous Problem
A Deferred Solution
Deferred Inline Callbacks
When to use it
How to use it
Deferred Callback Propagation
Callbacks and errbacks are always created in pairs
When a chain of callbacks and errbacks is useful
Multiple Callbacks for a single Deferred
An errback calling a callback and continuing as-normal
Delaying Deferreds
Reactor.CallLater
task.deferLater
task.LoopingCall
Deferred Failures
Failure.value()
Failure.check()
Cancelling a Deferred
When it is useful
How to use it
Pre-Called Deferreds
example
Timing-Out a Deferred
When it is useful
How to use it
Using The DeferredList
When to use it
How to use it
Other Useful Information: Parameters
Using the Deferred Semaphore
When to use it
How to use it
Chaining Deferreds
When to use it
How to use it
Common Gotchas
yield
not returning anything
Not waiting for a function that returns a Deferred
Read the Docs
v: 3.4.0
Versions
latest
stable
3.4.0
3.3.3
3.3.2
3.3.0
3.2.8
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.1.4
3.1.1
3.1.0
2.5.6
2.5.3
2.5.2
2.5.1
2.5.0
2.4.5
2.4.3
2.4.2
2.4.1
2.4.0
2.3.3
2.3.2
2.3.1
2.3.0
2.2.2
2.2.1
2.1.7
2.1.5
2.1.4
2.1.2
2.1.1
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.10
1.3.7
1.3.4.1
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
v1.2.x
1.1.6
v1.1.x
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.