transf<R extends Object> abstract method

Monad<Object> transf<R extends Object>([
  1. @noFutures R noFutures(
    1. T e
    )?
])

Transforms the Monad's generic type from T to R.

Uses the transformer function noFutures if provided, otherwise attempts a direct cast.

Implementation

Monad transf<R extends Object>([@noFutures R Function(T e)? noFutures]);