import time


def _meta_func(args):
    """Takes args in the form `(func, data)` and calls `func(data)`.

    Returns a tuple consisting of the `func` return value and the processing time in seconds.
    """
    time_start = time.time()

    func, data = args
    result = func(data)

    time_delta = time.time() - time_start
    return result, time_delta