<code class="lang-javascript">var data = m.request({
    method: &quot;GET&quot;,
    url: &quot;https://api.github.com/&quot;,
    initialValue: [],
})

setTimeout(function() {
    console.log(data())
}, 1000)
</code></pre>
<h3 id="v1x17"><a href="#v1x17"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">var data = []
m.request({
    method: &quot;GET&quot;,
    url: &quot;https://api.github.com/&quot;,
})
.then(function (responseBody) {
    data = responseBody
})

setTimeout(function() {
    c