consign.decorator.consigndecorator Module#

Functions#

coroutine([debug, create_callback, ...])

consign的核心,coroutine使得被修饰函数可以以协程的方式被执行

isgeneratorfunction(object)

Return true if the object is a user-defined generator function.

wraps(wrapped[, assigned, updated])

Decorator factory to apply update_wrapper() to a wrapper function