Skip to content

thomasrogers03/thomas_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thomas Utils

Thomas Utils is a gem to provide some basic helper classes to be used with my other projects.

Installation

Add this line to your application's Gemfile:

gem 'thomas_utils', git: 'https://github.com/thomasrogers03/thomas_utils.git'

Current Features

  • FutureWrapper: Apply some additional logic to your futures before returning a value. Supports futures implementing #join and #get.
  • ObjectStream: Incrementally write object values to a stream, flushing them in groups to a provided block.
  • PeriodicFlusher: To be used with ObjectStream; periodically calls #flush on the buffer, running the block on regular intervals.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages