Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# pyrate_limiter.abstracts.clock module

class pyrate_limiter.abstracts.clock.AbstractClock

  Bases: `ABC`

  Clock that return timestamp for now

  abstractmethod now()

    Get time as of now, in miliseconds

    Return type:

      `Union`[`int`, `Awaitable`[`int`]]