ThrowingConsumerX<T> extension

Extension methods for ThrowingConsumer providing safe execution.

Adds exception handling capabilities to throwing consumers.

on

Methods

callSafely(T value, {String message()?}) → void

Available on ThrowingConsumer<T>, provided by the ThrowingConsumerX extension

Executes the consumer with exception handling and custom error messaging.
callSafelyAsync(T value, {String message()?}) → Future<void>

Available on ThrowingConsumer<T>, provided by the ThrowingConsumerX extension

Executes the consumer asynchronously with safe exception handling.