Skip to main content

Module RelayToSky

Module RelayToSky 

Source
Expand description

Shared helper for notification atoms that are pure sky-event relays.

Many Cocoon → Mountain notification atoms do exactly two things:

  1. ApplicationHandle.emit(sky_event, Parameter)
  2. dev_log!(tag, "...")

This function collapses that pair so each such atom is a one-liner.

  • SkyEvent - the sky://… Tauri event name.
  • LogTag - the dev-log tag ("grpc", "output-verbose", …).
  • LogLine - pre-formatted message; skipped when empty.

Functions§

RelayToSky