Back to Developer Roadmap

Capabilities

src/data/roadmaps/scala/content/capabilities@kRM_HTRUvZ7xXjffu53Aw.md

4.0508 B
Original Source

Capabilities

Scala 3 introduces a new feature called "capabilities" as an alternative way to model effects. In short, a capability is an implicit function passed as a parameter. The function that requires a capability as a parameter declares in this way, that it will only work if in its scope is a capability to perform a certain task.

Visit the following resources to learn more: