Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106908428
ImmediateFuture.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Apr 2, 09:56
Size
291 B
Mime Type
text/x-php
Expires
Fri, Apr 4, 09:56 (2 d)
Engine
blob
Format
Raw Data
Handle
25302982
Attached To
rPHU libphutil
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
->
result
=
$result
;
}
public
function
isReady
()
{
return
true
;
}
}
Event Timeline
Log In to Comment