﻿)load isolate
iss←isolate.New¨3⍴⊂⍬
data←?3 1E6⍴1000 ⍝ "big data"
iss.data←↓data
iss.(≢data)          ⍝ Verify the split worked
iss.((+/data)÷≢data) ⍝ Do big parallel computation
ten←iss[1].⎕DL 10    ⍝ Launch a long-running calculation; ten is now a "future"
two←⎕DL 2            ⍝ Do some "local" work
two<ten              ⍝ Do something that needs both results
ten                  ⍝ No longer a future
