Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Function_.php

function Function_::setAsync

Sets the async flag that is true when it is an async function

Parameters

bool $async Async flag:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/Function_.php, line 179

Class

Function_
Abstract class for functions.

Namespace

Peast\Syntax\Node

Code

public function setAsync($async) {
    $this->async = (bool) $async;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal