@hackage / expiring-mvar

Create values which expire after a period of time.

Latest0.1

About

Metadata

  • Last updated , by JeffShaw
  • License BSD-3-Clause
  • Categories Concurrency
  • Maintained by: shawjef3@msu.edu

  • Lottery factor: 0

Links

Installation

Readme

expiring-mvar provides the type ExpiringMVar. ExpiringMVar is a container for a single value. When creating an ExpiringMVar, a thread is spawned which deletes the value held in the ExpiringMVar after a given period of time. The timer can be reset, cancelled, or restarted with a new time amount.