dataforge-core/dataforge-data/space.kscience.dataforge.actions/index.html

265 lines
30 KiB
HTML
Raw Normal View History

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.dataforge.actions</title>
</head><body><link href="../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script><script type="text/javascript" src="../../scripts/main.js" async></script>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<script type="text/javascript" src="../../scripts/main.js"></script><div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="main-content" id="content" pageids="dataforge-data::space.kscience.dataforge.actions////PointingToDeclaration//-534866471">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../index.html">dataforge-data</a>/<a href="index.html">space.kscience.dataforge.actions</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":dataforge-data:dokkaHtmlPartial/commonMain">common</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span><span>Package</span></span> <span>space.</span><wbr><span>kscience.</span><wbr><span>dataforge.</span><wbr><span>actions</span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="875675499%2FClasslikes%2F-534866471" anchor-label="Action" id="875675499%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-action/index.html"><span><span>Action</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="875675499%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">interface <a href="-action/index.html">Action</a>&lt;in <a href="-action/index.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, out <a href="-action/index.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">A simple data transformation on a data node. Actions should avoid doing actual dependency evaluation in <a href="-action/execute.html">execute</a>.</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="-915330422%2FClasslikes%2F-534866471" anchor-label="ActionEnv" id="-915330422%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-action-env/index.html"><span>Action</span><wbr><span><span>Env</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-915330422%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">data class <a href="-action-env/index.html">ActionEnv</a>(name: <a href="../../dataforge-meta/space.kscience.dataforge.names/-name/index.html">Name</a>, meta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a>, actionMeta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">Action environment includes data name, data meta and action configuration meta</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="-153844820%2FClasslikes%2F-534866471" anchor-label="JoinGroup" id="-153844820%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-join-group/index.html"><span>Join</span><wbr><span><span>Group</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-153844820%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-join-group/index.html">JoinGroup</a>&lt;<a href="-join-group/index.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="-join-group/index.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt;(name: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, set: <a href="../space.kscience.dataforge.data/-data-set/index.html">DataSet</a>&lt;<a href="-join-group/index.html">T</a>&gt;)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-777128840%2FClasslikes%2F-534866471" anchor-label="MapActionBuilder" id="-777128840%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-map-action-builder/index.html"><span>Map</span><wbr><span>Action</span><wbr><span><span>Builder</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-777128840%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-map-action-builder/index.html">MapActionBuilder</a>&lt;<a href="-map-action-builder/index.html">T</a>, <a href="-map-action-builder/index.html">R</a>&gt;(name: <a href="../../dataforge-meta/space.kscience.dataforge.names/-name/index.html">Name</a>, meta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-mutable-meta/index.html">MutableMeta</a>, actionMeta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">Action environment</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="855183999%2FClasslikes%2F-534866471" anchor-label="ReduceGroupBuilder" id="855183999%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-reduce-group-builder/index.html"><span>Reduce</span><wbr><span>Group</span><wbr><span><span>Builder</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="855183999%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-reduce-group-builder/index.html">ReduceGroupBuilder</a>&lt;<a href="-reduce-group-builder/index.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="-reduce-group-builder/index.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt;(inputType: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-type/index.html">KType</a>, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, actionMeta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="1894034656%2FClasslikes%2F-534866471" anchor-label="SplitBuilder" id="1894034656%2FClasslikes%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-split-builder/index.html"><span>Split</span><wbr><span><span>Builder</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1894034656%2FClasslikes%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-split-builder/index.html">SplitBuilder</a>&lt;<a href="-split-builder/index.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="-split-builder/index.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt;(name: <a href="../../dataforge-meta/space.kscience.dataforge.names/-name/index.html">Name</a>, meta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="-1380706838%2FFunctions%2F-534866471" anchor-label="map" id="-1380706838%2FFunctions%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="map.html"><span><span>map</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1380706838%2FFunctions%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="map.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="map.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; <a href="-action/-companion/index.html">Action.Companion</a>.<a href="map.html">map</a>(noinline builder: <a href="-map-action-builder/index.html">MapActionBuilder</a>&lt;<a href="map.html">T</a>, <a href="map.html">R</a>&gt;.() -&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="-action/index.html">Action</a>&lt;<a href="map.html">T</a>, <a href="map.html">R</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">A one-to-one mapping action</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="1613868249%2FFunctions%2F-534866471" anchor-label="reduce" id="1613868249%2FFunctions%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="reduce.html"><span><span>reduce</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1613868249%2FFunctions%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="reduce.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="reduce.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; <a href="-action/-companion/index.html">Action.Companion</a>.<a href="reduce.html">reduce</a>(noinline builder: <a href="-reduce-group-builder/index.html">ReduceGroupBuilder</a>&lt;<a href="reduce.html">T</a>, <a href="reduce.html">R</a>&gt;.() -&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="-action/index.html">Action</a>&lt;<a href="reduce.html">T</a>, <a href="reduce.html">R</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">A one-to-one mapping action</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="2134499792%2FFunctions%2F-534866471" anchor-label="split" id="2134499792%2FFunctions%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="split.html"><span><span>split</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2134499792%2FFunctions%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="split.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="split.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; <a href="-action/-companion/index.html">Action.Companion</a>.<a href="split.html">split</a>(noinline builder: <a href="-split-builder/index.html">SplitBuilder</a>&lt;<a href="split.html">T</a>, <a href="split.html">R</a>&gt;.() -&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="-action/index.html">Action</a>&lt;<a href="split.html">T</a>, <a href="split.html">R</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">Action that splits each incoming element into a number of fragments defined in builder</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1642758847%2FFunctions%2F-534866471" anchor-label="then" id="-1642758847%2FFunctions%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="then.html"><span><span>then</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1642758847%2FFunctions%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">infix fun &lt;<a href="then.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="then.html">I</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="then.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; <a href="-action/index.html">Action</a>&lt;<a href="then.html">T</a>, <a href="then.html">I</a>&gt;.<a href="then.html">then</a>(action: <a href="-action/index.html">Action</a>&lt;<a href="then.html">I</a>, <a href="then.html">R</a>&gt;): <a href="-action/index.html">Action</a>&lt;<a href="then.html">T</a>, <a href="then.html">R</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="brief "><p class="paragraph">Action composition. The result is terminal if one of its parts is terminal</p></div></div>
</div>
</div>
</div>
</div>
<a data-name="-908828331%2FFunctions%2F-534866471" anchor-label="transformWith" id="-908828331%2FFunctions%2F-534866471" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="transform-with.html"><span>transform</span><wbr><span><span>With</span></span></a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-908828331%2FFunctions%2F-534866471"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":dataforge-data:dokkaHtmlPartial/commonMain" data-filterable-set=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":dataforge-data:dokkaHtmlPartial/commonMain"><div class="symbol monospace">suspend fun &lt;<a href="transform-with.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, <a href="transform-with.html">R</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>&gt; <a href="../space.kscience.dataforge.data/-data-set/index.html">DataSet</a>&lt;<a href="transform-with.html">T</a>&gt;.<a href="transform-with.html">transformWith</a>(action: <a href="-action/index.html">Action</a>&lt;<a href="transform-with.html">T</a>, <a href="transform-with.html">R</a>&gt;, meta: <a href="../../dataforge-meta/space.kscience.dataforge.meta/-meta/index.html">Meta</a> = Meta.EMPTY, scope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null): <a href="../space.kscience.dataforge.data/-data-set/index.html">DataSet</a>&lt;<a href="transform-with.html">R</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body></html>