Skip to main content

parse_event_source

Function parse_event_source 

Source
pub fn parse_event_source(
    language: SourceLanguage,
    input: &str,
) -> EventDocument
Expand description

Extracts exact literal event API calls from one supported source language.

Recognition is intentionally narrow. A recognized publisher or subscriber call with a computed channel is emitted with channel = None, zero confidence, and an explicit warning. At most one mebibyte and 1,024 observations are inspected and returned.