Published
Edited
Mar 13, 2021
1 star
Also listed in…
Inputs
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
if (synchronized) {
const customPromise = new Promise(resolve => {
mutable unbind = resolve;
});
bind(viewof target, viewof source, customPromise);
} else {
if (mutable unbind) mutable unbind();
mutable unbind = undefined;
}
}
// see https://lea.verou.me/2016/12/resolve-promises-externally-with-this-one-weird-trick/
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more