Type alias BeforeConnectionDetachInterceptor

BeforeConnectionDetachInterceptor: ((c) => boolean)

Defines the method signature for the callback to the beforeDetach interceptor. Returning false from this method prevents the connection from being detached. The interceptor is fired by the core, meaning that it will be invoked regardless of whether the detach occurred programmatically, or via the mouse.

Type declaration

    • (c): boolean
    • Parameters

      • c: Connection<any>

      Returns boolean