# Method Concurrent.use_backend()

Method use_backend

  ``final` `void` use_backend(`int` `enable`)`

Parameter `enable`

  ``0`` | A `false` value causes all Concurrent callbacks (except for timeouts) to default to being called directly, without using a backend.
  ``1`` | A `true` value causes callbacks to default to being called via Pike.DefaultBackend.

Note

  Be very careful about running in the backend disabled mode, as it may cause unlimited recursion and reentrancy issues.

Note

  As long as the backend hasn't started, it will default to `false`. Upon startup of the backend, it will change to `true` unless you explicitly called use_backend() before that.

Note

  (Un)setting this typically alters the order in which some callbacks are called (depending on what happens in a callback).

See also

  Future()->set_backend(), Future()->call_callback()