How to use the @wailsapp/runtime.Store function in @wailsapp/runtime

To help you get started, we’ve selected a few @wailsapp/runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rule110-io / surge / frontend / src / layout / Dashboard / Dashboard.vue View on Github external
enableClientStatusUpdate() {
      const clientsStore = runtime.Store.New("numClients");
      clientsStore.subscribe(({ Online }) => {
        this.$store.commit("clientStatus/addClientStatus", {
          online: Online,
        });
      });
    },
  },

@wailsapp/runtime

Wails Javascript runtime library

MIT
Latest version published 4 years ago

Package Health Score

66 / 100
Full package analysis

Popular @wailsapp/runtime functions