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
PlatformHtmlToMarkdownFfiEnvelopemachinery 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
HtmlToMarkdownFfiPortover the typed MacosHtmlToMarkdownFfiChannel. convertSync requires the running host to be macos (the native library is in-process there); any other host surfaces the typedsync_unsupportedfailure. 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: theHtmlToMarkdownFfiPortover an injected channel. An injectedtimeoutis applied to the wired channel. Without a channel every call surfaces the typedchannel_not_wiredfailure; passMacosHtmlToMarkdownFfiChannel.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.