MCPcopy Create free account
hub / github.com/codrops/RainEffect / isUnhandled

Function isUnhandled

demo/js/main.js:2724–2734  ·  view source on GitHub ↗
(promise)

Source from the content-addressed store, hash-verified

2722 });
2723};
2724var isUnhandled = function(promise){
2725 var record = promise[RECORD]
2726 , chain = record.a || record.c
2727 , i = 0
2728 , react;
2729 if(record.h)return false;
2730 while(chain.length > i){
2731 react = chain[i++];
2732 if(react.fail || !isUnhandled(react.P))return false;
2733 } return true;
2734};
2735var $reject = function(value){
2736 var record = this;
2737 if(record.d)return;

Callers 1

notifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected