Refactor: remove ntfy_proxy, use SharedEnv

This commit is contained in:
ranfdev
2023-10-23 15:00:18 +02:00
parent 1a65c290fa
commit be6ce20b97
5 changed files with 150 additions and 254 deletions

View File

@ -14,12 +14,6 @@ interface OutputChannel {
done @2 ();
}
interface NtfyProxy {
getServer @0 () -> (server: Text);
watch @1 (topic: Text, watcher: OutputChannel, since: UInt64) -> (handle: WatchHandle);
publish @2 (message: Text);
}
struct SubscriptionInfo {
server @0 :Text;
topic @1 :Text;