UNPKG

universal-serialize

Version:
14 lines (9 loc) 308 B
/* @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`); }