def threadsafe_call(self, fn, *args, **kwargs):
        def handler():
            try:
                fn(*args, **kwargs)
            except Exception:
                warn("error caught while excecuting async callback\n%s\n",
                     format_exc())

        def greenlet_wrapper():
            gr = greenlet.greenlet(handler)
            gr.switch()

        self._async_session.threadsafe_call(greenlet_wrapper)
Makes a file system <fs_type> on partition <device>, destroying all data
dataset/ETHPy150Open neovim/python-client/neovim/msgpack_rpc/session.py/Session.threadsafe_call--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/parted.py/mkfs