# Effect TypeScript Library: Beginner / Intermediate Workshop (Effect Days 2024)

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[Effect | TypeScript for the AI Era](https://www.youtube.com/@effect-ts) · Published 2024-04-26 · 4:16:31 · S tier · Effect

[Watch on YouTube](https://www.youtube.com/watch?v=Lz2J1NBnHK4) · [All RatTube videos](/tube)

## Summary

This workshop builds up [Effect](/lore/effect-basics) programs as values that describe work. It shows how mapping a successful result creates another program, rather than immediately running the original one.

The later examples cover [failure](/lore/error-model) causes, [services](/lore/context-and-requirements), branded types, and [fiber](/lore/concurrent-work-needs-an-owner)s. A cause distinguishes expected failure, defects, and interruption. Services provide dependencies, while a running fiber gives the caller a handle for awaiting or interrupting work.

## Section notes

- [5:24](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=324s): The workshop introduces effects and programs that interact with the outside world.
- [44:08](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=2648s): Mapping a result builds a new immutable program.
- [1:30:34](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=5434s): Cause distinguishes failure, defects, and interruption.
- [2:18:51](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=8331s): Service accessors obtain dependencies from the environment.
- [3:06:22](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=11182s): Branded types distinguish values that share an underlying representation.
- [3:52:42](https://www.youtube.com/watch?v=Lz2J1NBnHK4\&t=13962s): Fibers expose running work that can be awaited or interrupted.

## Key concepts

- [Effect](/lore/effect-basics)
- [failure](/lore/error-model)
- [services](/lore/context-and-requirements)
- [fiber](/lore/concurrent-work-needs-an-owner)

## Our take

Ethan Niser's four-hour workshop goes from what an Effect is to running effects, error handling, context, resources, Schema and fibers, with the workshop code in a public repo. Work through it once and the rest of this list gets easier.

## Related videos

- [Effect: the unreadable library that captured my heart](/tube/effect-unreadable-library-captured-my-heart)
- [Effect for Beginners](/tube/effect-for-beginners)
- [Effect on the Frontend: When, Why, How | Sandro Maglione (Effect Days 2025)](/tube/effect-on-frontend-when-why-how)
- [Production-Grade TypeScript by Johannes Schickling (Effect Days 2024)](/tube/production-grade-typescript-by-johannes-schickling)

Summary based on the transcript. Written 2026-11-15.
