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.Type - no description

Documentation

       Module Type
        : sigendtype'at

       The type for a user event content type.

       valunit : unitt

       An event that has no data associated with it.

       typespan =
        | Begin
        | End

       valspan : spant

       An event that has a beginning and an end.

       valint : intt

       An event containing an integer value.

       valregister : encode:(bytes->'a->int)->decode:(bytes->int->'a)->'at

       Registers  a  custom  type  by  providing  an  encoder and a decoder. The encoder writes the value in the
       provided buffer and returns the number of bytes written. The decoder  gets  a  slice  of  the  buffer  of
       specified length, and returns the decoded value.

       The maximum value length is 1024 bytes.

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

Module

       Module   Runtime_events.Type

Name

       Runtime_events.Type - no description

See Also