5 lines
122 B
JavaScript
5 lines
122 B
JavaScript
import mem from './mem';
|
|
|
|
export default function pmem(fn, opts = {}) {
|
|
return mem(fn, { isPromise: true, ...opts });
|
|
}
|