CapsuleMapper<T> extension

Provides the map convenience method on Capsules.

on

Methods

map<R>(R mapper(T)) Capsule<R>

Available on Capsule<T>, provided by the CapsuleMapper extension

Maps this Capsule (of type T) into a new idempotent Capsule (of type R) by applying the given mapper.