@tinyactors/scxmljs
    Preparing search index...

    Function compile

    • Compile an <scxml> element. src attributes on <script> and <data> are fetched with loader; the result is synchronous when the loader is.

      Parameters

      • root: Element
      • opts: { loader?: Loader } = {}

      Returns Model | Promise<Model>