UNPKG

scrivito

Version:

Scrivito is a professional, yet easy to use SaaS Enterprise Content Management Service, built for digital agencies and medium to large businesses. It is completely maintenance-free, cost-effective, and has unprecedented performance and security.

9 lines (8 loc) 329 B
/** a Promise that never resolves or rejects. * Careful! Only use, if you know what you are doing! * You need to make sure that this promise will be "forgotten" eventually by your business logic. * Otherwise, you could cause a memory leak! */ export function never<T>(): Promise<T> { return new Promise(() => undefined); }