Fiber::Annotation GuidesGetting Started

Getting Started

This guide shows how to add fiber-annotation to your project and annotate your fibers.

Installation

Add the gem to your project:

$ bundle add fiber-annotation

Annotating a Fiber

Fiber.new(annotation: "My Fiber") do
	Fiber.current.annotation # => "My Fiber"
	
	Fiber.annotate("Connecting...") do
		# Connect
		Fiber.current.annotation # => "Connecting..."
	end
end