.. index:: write_to_stream_hook(Stream,Options) .. _write_to_stream_hook/2: .. rst-class:: right **object** ``write_to_stream_hook(Stream,Options)`` ======================================== This hook object writes term-expansion results to a stream using a list of ``write_term/3`` options. The terms are terminated by a period and a new line. | **Availability:** | ``logtalk_load(hook_objects(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2020-02-16 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`expanding ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`expanding/0::goal_expansion/2`  :ref:`expanding/0::term_expansion/2`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`backend_adapter_hook `, :ref:`default_workflow_hook `, :ref:`identity_hook `, :ref:`grammar_rules_hook `, :ref:`prolog_module_hook(Module) `, :ref:`object_wrapper_hook `, :ref:`write_to_stream_hook(Stream) `, :ref:`write_to_file_hook(File,Options) `, :ref:`write_to_file_hook(File) `, :ref:`print_goal_hook `, :ref:`suppress_goal_hook `