- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 816 for Gevent (0.23 seconds)
-
docs/ja/docs/async.md
非同期コードの操作がはるかに簡単になります。 等価な (またはほとんど同一の) 構文が、最近のバージョンのJavaScript (ブラウザおよびNodeJS) にも最近組み込まれました。 しかし、その前は、非同期コードの処理はかなり複雑で難解でした。 以前のバージョンのPythonでは、スレッドや<a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a>が利用できました。しかし、コードは理解、デバック、そして、考察がはるかに複雑です。 以前のバージョンのNodeJS / ブラウザJavaScriptでは、「コールバック」を使用していました。これは、「コールバック地獄」につながります。 ## コルーチン
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:56:21 GMT 2025 - 27.7K bytes - Click Count (0) -
docs/pt/docs/advanced/events.md
Essas funções podem ser declaradas com `async def` ou `def` normal. ### Evento `startup` { #startup-event } Para adicionar uma função que deve rodar antes de a aplicação iniciar, declare-a com o evento `"startup"`: {* ../../docs_src/events/tutorial001_py39.py hl[8] *} Nesse caso, a função de manipulador do evento `startup` inicializará os itens do "banco de dados" (apenas um `dict`) com alguns valores.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/ru/docs/advanced/events.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/de/docs/advanced/events.md
Diese Funktionen können mit `async def` oder normalem `def` deklariert werden. ### `startup`-Event { #startup-event } Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`: {* ../../docs_src/events/tutorial001_py39.py hl[8] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values. You can add more than one event handler function. And your application won't start receiving requests until all the `startup` event handlers have completed. ### `shutdown` event { #shutdown-event } To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
internal/event/event.go
NamespaceFormat = "namespace" // AccessFormat - access log format used in some event targets. AccessFormat = "access" // AMZTimeFormat - event time format. AMZTimeFormat = "2006-01-02T15:04:05.000Z" // StoreExtension - file extension of an event file in store StoreExtension = ".event" ) // Identity represents access key who caused the event. type Identity struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 3.4K bytes - Click Count (0) -
cmd/event-notification.go
UserAgent string } // ToEvent - converts to notification event. func (args eventArgs) ToEvent(escape bool) event.Event { eventTime := UTCNow() uniqueID := fmt.Sprintf("%X", eventTime.UnixNano()) if !args.Object.ModTime.IsZero() { uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano()) } respElements := map[string]string{ "x-amz-request-id": args.RespElements["requestId"],Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 21 22:22:24 GMT 2024 - 7.7K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/Event.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sse.internal internal data class Event( val id: String?, val type: String?, val data: String,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Dec 23 10:26:25 GMT 2023 - 720 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
import org.apache.maven.api.annotations.Nonnull; /** * Event sent by maven during various phases of the build process. * Such events can be listened to using {@link Listener}s objects * registered in the {@link Session}. * * @since 4.0.0 */ @Experimental public interface Event { /** * Gets the type of the event. * * @return the type of the event, never {@code null} */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Click Count (0) -
internal/config/lambda/event/event.go
type GetObjectContext struct { OutputRoute string `json:"outputRoute"` OutputToken string `json:"outputToken"` InputS3URL string `json:"inputS3Url"` } // Event represents lambda function event, this is undocumented in AWS S3. This // structure bases itself on this structure but there is no binding. // // { // "xAmzRequestId": "a2871150-1df5-4dc9-ad9f-3da283ca1bf3", // "getObjectContext": { // "outputRoute": "...",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 2.6K bytes - Click Count (0)