Closed rubiojr closed 4 years ago
Oh yes! I so need this hive!
Similar to what the IRCBee
is doing with its connected
state, we could emit the current state (after sunrise / after sunset), so it can be accessed by all other chains, even ones not triggered by this bee's events.
See https://github.com/muesli/beehive/blob/master/bees/ircbee/ircbee.go#L261
Similar to what the
IRCBee
is doing with itsconnected
state, we could emit the current state (after sunrise / after sunset), so it can be accessed by all other chains, even ones not triggered by this bee's events.
@muesli TIL, that's pretty awesome. Is abd067ec3d7c2007f90a1fe42978d8fa01c534da what you had in mind?
@muesli TIL, that's pretty awesome. Is abd067e what you had in mind?
Yes, that looks about right! Now you should be able to use .context.beename.sunset
(e.g.) as a value in any action.
I'm so gonna drop TravisCI and replace it with GitHub Actions. It's still trying to boot up the macOS jobs from several hours ago :yawning_face:
Ready for :eyes:
I think I've addressed all your feedback @muesli
Send sunrise/sunset events for a given city.