Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3281879
ImmediateFuture.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
293 B
Referenced Files
None
Subscribers
None
ImmediateFuture.php
View Options
<?php
/**
* Degenerate future which returns an already-existing result without performing
* any computation.
*/
final
class
ImmediateFuture
extends
Future
{
public
function
__construct
(
$result
)
{
$this
->
setResult
(
$result
)
;
}
public
function
isReady
(
)
{
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 02:17 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115542
Default Alt Text
ImmediateFuture.php (293 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment