This function will run for about 32 hours while your transaction propagates through the bitcoin mempool, then through a bunch of coal-guzzling server farms in Xinjiang. This ultimately burns through an acre of rainforest in the Amazon, but we can ignore that because it’s an unobservable side effect. If the market is good it will eventually evaluate and yield a response. The result is wrapped in a Either value where the right success value will contain the result of your function or a left failure value in the case where you’ve been outbid. If you’ve been outbid, you’ll simply have to bid higher to evaluate your code because that’s how code under capitalism works.
Stephen Diehl: FPTs: Pure Fungibility on the Blockchain (2021-04-01)