userapp

package
v0.2.2-dev.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package userapp is what sync tells the app about its notifications (spec 6a): the record of the device's "notify" switch and the events the person's notices have for the app. The texts are made by the people tick when a notice is final (telegram. RenderUserAppNotices); this runs in the public Worker and only reads and copies them, with no renderer or language table.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

Sync is what sync does for the notifications of one device. It records the device's switch (n.Notify, "on" or "off") only when it differs from what the device holds (dev is read with it). For a device that asked for events (n.Events) it returns the person's events and marks the new ones taken (store.TakeUserAppEvents). A failed switch write is the error; the events are then not read.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL