void (CompletionParameters parameters, Consumer<? super CompletionResult> consumer) { myApiCompletionProcess = parameters.getProcess(); try { super.performCompletion(parameters, consumer); } finally { myApiCompletionProcess = null; } }