Skip to content

leungant/asyncd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Asyncd

Python module for speeding up application responsiveness by asynchronously running functions.

Designed for the end-user.

import asyncd, time

def expensive_function_to_run(input):
    time.sleep(0.02)
    print(input)

# Get an async version of your function
a = asyncd.async(expensive_function_to_run)

for i in range(1000):
    a("Ran on separate thread %s" % i)

About

Cool but simple async for Python 3/2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages