consume<R> method
R
consume<R>(
- R code(
- T
Blocks execution until the future is ready.
Implementation
external R consume<R>(R Function(T) code);
Blocks execution until the future is ready.
external R consume<R>(R Function(T) code);