universal-serialize
Version:
Javascript module template.
14 lines (9 loc) • 308 B
JavaScript
/* @flow */
import type { Thenable } from '../types';
export type SerializedPromise = void;
export function serializePromise() : SerializedPromise {
// pass
}
export function deserializePromise() : Thenable {
throw new Error(`Promise serialization is not implemented; nothing to deserialize`);
}