def METHOD_NAME(
    self,
    func: Callable[..., _T],
    args: Iterable[Any] = (),
    kwds: Mapping[str, Any] = {},
    callback: Callable[[_T], object] | None = None,
    error_callback: Callable[[BaseException], object] | None = None,