1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-24 07:22:16 +01:00
Files
archived-doc-es/reference/parallel/parallel.events.event.xml

87 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 57c7669a1f5336cb17413e0b46540c52c77ee84f Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no -->
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.parallel-events-event" role="class">
<title>La clase parallel\Events\Event</title>
<titleabbrev>parallel\Events\Event</titleabbrev>
<partintro>
<section>
<title>Objeto de evento</title>
<simpara>
Cuando un evento es devuelto, <varname>Event::$object</varname> debe ser retirado del bucle que lo devolvió. Si el evento es un evento de escritura, el <classname>Input</classname> para <varname>Event::$source</varname> también debe ser retirado.
</simpara>
</section>
<section xml:id="parallel-events-event.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>parallel\Events\Event</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>parallel\Events\Event</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">Debe ser una de las constantes <classname>Event\Type</classname></classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>int</type>
<varname>type</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">Debe ser la fuente del evento (nombre del objetivo)</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname>source</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">Debe ser un Future o un Channel</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>object</type>
<varname>object</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">Debe definir los eventos de lectura/Error</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<varname>value</varname>
</fieldsynopsis>
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->