MCPcopy Create free account
hub / github.com/csskit/csskit / is_exit_notification

Method is_exit_notification

crates/csskit_lsp/src/jsonrpc/message.rs:28–34  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

26 #[doc(hidden)]
27 #[inline]
28 pub fn is_exit_notification(&self) -> bool {
29 if let Message::Notification(notification) = self {
30 matches!(notification.method.as_str(), "exit")
31 } else {
32 false
33 }
34 }
35
36 #[doc(hidden)]
37 #[inline]

Callers 1

handleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected