logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Runtime_events.User - no description

Documentation

       Module User
        : sigend

       User  events  is a way for libraries to provide runtime events that can be consumed by other tools. These
       events can carry known data types or custom values. The current maximum number of user events is 8192.

       typetag = ..

       The type for a user event tag. Tags are used to discriminate between user events of the same type.

       type'valuet

       The type for a user event. User events describe their tag, carried data type and an  unique  string-based
       name.

       valregister : string->tag->'valueRuntime_events.Type.t->'valuetregisternametagty registers a new event with an unique name , carrying a tag and values of type ty .

       valwrite : 'valuet->'value->unitwritetv emits value v for event t .

       valname : 'at->stringnamet is the unique identifying name of event t .

       valtag : 'at->tagtagt  is  the  associated  tag  of  event  t , when it is known.  An event can be unknown if it was not
       registered in the consumer program.

OCamldoc                                           2025-06-12                            Runtime_events.User(3o)

Module

       Module   Runtime_events.User

Name

       Runtime_events.User - no description

See Also