StatelessServiceBase.onOpenAsync(CancellationToken cancellationToken) 方法

定义

This method is called as the final step of opening the service. Override this method to be notified that Open has completed for this instance's internal components.

protected CompletableFuture<?> onOpenAsync(CancellationToken cancellationToken)

参数

cancellationToken
CancellationToken

CancellationToken object to indicate the cancellation status of the operation.

返回

CompletableFuture<?>

A CompletableFuture that represents outstanding operation.

适用于