Skip to content

Instantly share code, notes, and snippets.

@HeaTTheatR
HeaTTheatR / asynckivy.py
Created May 25, 2019 23:47 — forked from gottadiveintopython/readme.txt
async/await in Kivy
# -*- coding: utf-8 -*-
__all__ = ('start', 'sleep', 'event', )
import types
from functools import partial
from collections import namedtuple
from kivy.clock import Clock
CallbackParameter = namedtuple('CallbackParameter', ('args', 'kwargs', ))