Calls ``function`` asynchronously by creating a pickling it and
    calling it in a task.

def celery(function, *args, **kwargs):
    '''
    Calls ``function`` asynchronously by creating a pickling it and
    calling it in a task.
    '''
    from .tasks import dill_callable

    dilled_function = dill.dumps(function)
    dill_callable.delay(dilled_function, *args, **kwargs)