Skip to content
main
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

txapply

A little library for calling functions with Deferred arguments.

Example

def function(some, name=None):
    print('Got {} (name={})'.format(some, name))
    return name


def finished(value):
    print('Finished: {}'.format(value))
    reactor.stop()

result = txapply(function, some_deferred, name=other_deferred)
result.addCallback(finished)

Warning

This is unreleased, unsupported software that makes no claims to backwards compatibility or correctness.

In particular, I dislike the name txapply and am likely to change it.

License

Copyright (c) Twisted Matrix Laboratories.

Made available under the MIT license. See LICENSE for details.

About

Tools for combining Twisted Deferreds

Resources

License

Releases

No releases published

Packages

No packages published

Languages