Skip to content

Instantly share code, notes, and snippets.

@nanotroy
Created May 30, 2019 22:25
Show Gist options
  • Select an option

  • Save nanotroy/ebaaf376042571da626b796b64f87e8b to your computer and use it in GitHub Desktop.

Select an option

Save nanotroy/ebaaf376042571da626b796b64f87e8b to your computer and use it in GitHub Desktop.
class TodoStore {
public readonly visibility: StreamBox<Visibility>
constructor() {
this.visibility = new StreamBox(Visibility.ALL)
}
dispose() {
this.visibility.destroy()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment