public final Flux<T> doAfterTerminate(Runnable afterTerminate) {
    """
	Add behavior (side-effect) triggered after the {@link Flux} terminates, either by completing downstream successfully or with an error.
	<p>
	<img class="marble" src="doc-files/marbles/doAfterTerminateForFlux.svg" alt="">
	
	@param afterTerminate the callback to call after {@link Subscriber#onComplete} or {@link Subscriber#onError}
	
	@return an observed  {@link Flux}
    """
		Objects.requireNonNull(afterTerminate, "afterTerminate");
		return doOnSignal(this, null, null, null, null, afterTerminate, null, null);
	}
public final Flux<T> doAfterTerminate(Runnable afterTerminate) {
		Objects.requireNonNull(afterTerminate, "afterTerminate");
		return doOnSignal(this, null, null, null, null, afterTerminate, null, null);
	}
public final Flux < T > doAfterTerminate ( Runnable afterTerminate ) { Objects . requireNonNull ( afterTerminate , "afterTerminate" ) ; return doOnSignal ( this , null , null , null , null , afterTerminate , null , null ) ; }
Add behavior (side-effect) triggered after the {@link Flux} terminates, either by completing downstream successfully or with an error.
<p>
<img class="marble" src="doc-files/marbles/doAfterTerminateForFlux.svg" alt="">

@param afterTerminate the callback to call after {@link Subscriber#onComplete} or {@link Subscriber#onError}

@return an observed  {@link Flux}
Add behavior ( side - effect ) triggered after the { @link Flux } terminates either by completing downstream successfully or with an error . <p > <img class = marble src = doc - files / marbles / doAfterTerminateForFlux . svg alt = >