Interface WebSocketConfig.OnReconnectCallback

Enclosing interface:
WebSocketConfig

@JsFunction public static interface WebSocketConfig.OnReconnectCallback
TypeScript callback contract for this property.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInvoke(double attempt)
    Invokes the OnReconnectCallback callback.
  • Method Details

    • onInvoke

      void onInvoke(double attempt)
      Invokes the OnReconnectCallback callback.
      Parameters:
      attempt - Value supplied for the attempt parameter.