doOnComplete

Returns a future that will also apply the passed closure when it completes.

Return

A future returning the same result as the original future that this function was executed on.

Parameters

accept

A function to execute when completing the original future.