Source code for libretro.drivers.types
"""Shared protocol types used by multiple driver families."""
from abc import abstractmethod
from typing import Protocol, runtime_checkable
[docs]
@runtime_checkable
class Pollable(Protocol):
"""A type that can be polled for an update once per frame."""
__all__ = ("Pollable",)