TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2015 |
SPMSupports SPM | ✗ |
Maintained by remi robert.
Simple utility for only executing code when you want.
This will only execute the block passed, if the last time it was called is greater than limit or it has never been called. Keep the last called in memory.
Each block are associated with a name. Wait
Wait🕟Block.executeBlock("test", limitTimer: 3) { () -> () in
// Put your fucking code here !!!
}
Wait🕟Block.resetTimer("test")
Wait🕟Block.resetAllTimer()
use_frameworks!
pod 'WaitBlock'