Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
3bc694c8
Commit
3bc694c8
authored
5 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[server] documentation of signals
parent
dfcd948d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/server/request.mli
+12
-1
12 additions, 1 deletion
src/plugins/server/request.mli
with
12 additions
and
1 deletion
src/plugins/server/request.mli
+
12
−
1
View file @
3bc694c8
...
@@ -44,8 +44,19 @@ end
...
@@ -44,8 +44,19 @@ end
type
'
a
input
=
(
module
Input
with
type
t
=
'
a
)
type
'
a
input
=
(
module
Input
with
type
t
=
'
a
)
type
'
b
output
=
(
module
Output
with
type
t
=
'
b
)
type
'
b
output
=
(
module
Output
with
type
t
=
'
b
)
(** {2 Signals}
*)
(** {2 Signals}
A signal is a one-way message from server to client for indicating that
something happened. To avoid unecessary noise, the client must be registered
on each of signal it is interested in. The client will then send a proper get
requests to the server to retrieve the updated data.
As a matter of fact, update events are much more frequent than what a
typical GUI client can handle. Hence, signal emissions can not carry data
and are grouped (or « debounced ») until the next server
response to client. *)
(** The type of registered signals. *)
type
signal
type
signal
(** Register a server signal. The signal [name] must be unique. *)
(** Register a server signal. The signal [name] must be unique. *)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment