Changes

Jump to navigation Jump to search
533 bytes added ,  14:35, 22 August 2018
no edit summary
==lazy:cache==
 
{{Mark|Updated with Version 9.1:}} [[#lazy:cache|lazy:cache]]: {{Code|$lazy}} argument added; support for sequences.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|lazy:cache|$items as item()*|item ()*}}<br/>{{Func|lazy:cache|$items as item()*, $lazy as xs:boolean|item()*}}
|-
| '''Summary'''
|Caches the contents data of a lazy {{Code|$itemitems}}in a sequence:<br />* contents data of lazy items will be retrieved and cached in inside the item.* non-lazy items , or lazy items with cached contents data, will simply be passed through.* If {{Code|$lazy}} is set to {{Code|true()}}, caching will be deferred until the data is eventually requested. Streaming, however, will be disabled: Data will be cached before an input stream will be generated.Caching of a lazy items is advisable if an item will be processed more than once, or if the the targeted contents will data may not be available anymore at a later stage.
|-
| '''Example'''
=Changelog=
 
;Version 9.1
 
* Updated: [[#lazy:cache|lazy:cache]]: {{Code|$lazy}} argument added; support for sequences.
;Version 9.0
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu