You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "DMwangnima (via GitHub)" <gi...@apache.org> on 2023/09/17 04:32:45 UTC

[GitHub] [dubbo-go] DMwangnima commented on issue #2429: modularize Graceful_Shutdown functionality proposal

DMwangnima commented on issue #2429:
URL: https://github.com/apache/dubbo-go/issues/2429#issuecomment-1722389278

   **Extensibility:**
   For framework development, add **RegisterXXX** and related destroying logics.
   
   For users, we could consider providing a common **Register(obj Destroyer)** and interface
   ```go
   type Destroyer interface {
       Destroy()
   }
   ```
   so that users could invoke ```graceful_shutdown.Register(obj)``` directly for destruction purpose.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org