html_to_markdown_ffi_macos library

html_to_markdown_ffi_macos — the macOS adapter of the html_to_markdown_ffi federated plugin: register, channel, typed exception, port.

Classes

MacosHtmlToMarkdownFfiChannel
The macos channel: the shared PlatformHtmlToMarkdownFfiEnvelope machinery with the macos taxonomy as a pure data set. The default MacosHtmlToMarkdownFfiChannel.native invoke performs the real FFI conversion through the app package's native datasource; any other transport can be injected verbatim.
MacosHtmlToMarkdownFfiPort
macos HtmlToMarkdownFfiPort over the typed MacosHtmlToMarkdownFfiChannel. convertSync requires the running host to be macos (the native library is in-process there); any other host surfaces the typed sync_unsupported failure. The async convert path decodes the channel payload through the envelope.

Functions

registerMacosHtmlToMarkdownFfiDependencies(GetIt getIt, {MacosHtmlToMarkdownFfiChannel? channel, Duration? timeout}) → void
Registers the macos adapter on getIt: the HtmlToMarkdownFfiPort over an injected channel. An injected timeout is applied to the wired channel. Without a channel every call surfaces the typed channel_not_wired failure; pass MacosHtmlToMarkdownFfiChannel.native() for the real in-process conversion. The native library itself is resolved by the app package's preserved loading chain (bundled, resolver seam, sibling probe, cache, download, loader path) — this registration only wires the port.

Exceptions / Errors

MacosHtmlToMarkdownFfiException
The typed native failure on macOS.