catseffectbyexamples

πŸ€“πŸ“š The objective is to do an easy-to-access codes snippets collections of important Cats Effect concepts. Cats Effect possesses IO for wrapping & chaining asynchronous codes executions. It has also the concept of Resource for an automatic resources releasing after usage. Semaphore and more well known asynchronous programming patterns are also part of the library.

View on GitHub

CatsEffectByExamples - Asynchronous runtime in functional programming style 😼

Generic badge Generic badge Generic badge Generic badge

img.png

πŸ‘ΎπŸ“š The objective is to do an easy-to-access codes snippets collections of important Cats Effect concepts. Cats Effect possesses IO for wrapping & chaining asynchronous codes executions. It has also the concept of Resource for an automatic resources releasing after usage. Semaphore and more well known asynchronous programming patterns are also part of the library.

Table of contents πŸ“ƒ

πŸ”ŽπŸ“š For a better understanding of each subject please take the time to run the code snippets. They all compile & are runnable βœ…. So do not hesitate to fork this git repository and execute them on your own computer 😍.

Remark: Some code snippets have multiple possible runs.

πŸ”Ž Subject πŸ“ƒ Description πŸ‘Ύ Code snippets
IOs This part focuses on understanding IOs as data structures holding a manageable execution result. Introduction
Β  Β  Parallel
Β  Β  Traversal
Β  Β  Exception
Concurrency This part focuses on understanding Fibers as easy-to-manage threads with possibility of starting & joining concurrently execution results from IOs. Fiber
Β  Β  Uncancelable
Β  Β  Race
Β  Β  Resource
Coordination This part focuses on understanding communication patterns between Fibers. Ref
Β  Β  Deferred
Β  Β  Semaphore
Β  Β  CountDownLatch
Β  Β  CyclicBarrier

Main references πŸ“š