closeOne method

Future closeOne (String correlationId, dynamic component)
  • Closes specific component.
    • To be closed components must implement ICloseable interface.
    • If they don't the call to this method has no effect.
      • correlationId (optional) transaction id to trace execution through call chain.
      • component the component that is to be closed.
    • Retrun Future that receives error or null no errors occured.