• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

11.3 Engine predicate reference
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Coroutining using Prolog engines
        • Engine predicate reference
          • engine_create/3
          • engine_create/4
          • engine_destroy/1
          • engine_next/2
          • engine_next_reified/2
          • engine_post/2
          • engine_post/3
          • engine_yield/1
          • engine_fetch/1
          • engine_self/1
          • is_engine/1
          • current_engine/1
    • Packages
Availability:built-in
Source[det]engine_yield(+Term)
Called from within the engine, causing engine_next/2 in the caller to return with Term. A subsequent call to engine_next/2 causes engine_yield/1 to‘return’. This predicate can only be called if the engine is not involved in a callback from C, i.e., when the engine calls a predicate defined in C that calls back Prolog it is not possible to use this predicate. Trying to do so results in a permission_error exception.
ClioPatria (version V3.1.1-51-ga0b30a5)