nativeSendAttempt($context,$requestId,'claim','',$keys,$environment,$history,$revoked); if(($claim['status']??null)!=='native_attempt_claim'){return $claim;} $mark=$store->nativeSendAttempt($context,$requestId,'mark',$claim['token'],$keys,$environment,$history,$revoked); if(($mark['status']??null)!=='native_attempt_mark'){return $mark;} // The transaction has committed and its handle has closed before transport. try {$body=$transport($mark['payload']);}catch(Throwable $e){$body=null;} $outcome=$store->observeNativeRemoteOutcome($context,$requestId,$body,$keys,$environment,$history,$revoked); $attempt=$store->nativeSendAttempt($context,$requestId,'settle',$claim['token'],$keys,$environment,$history,$revoked); return array('status'=>'native_worker_observed','outcome'=>$outcome,'attempt'=>$attempt,'erasure_complete'=>false); } }