---
title: "SynchronousScope"
sidebar_label: "SynchronousScope"
description: "Kotlin binding reference: SynchronousScope."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[SynchronousScope](index.md)

# SynchronousScope

[common]\
class [SynchronousScope](index.md)

While open, every op dispatched on the calling thread COMPLETES before the dispatch returns, whichever stream runs it. Thread-local: open and close it on one thread (`use { }`); scopes nest.

## Constructors

| | |
|---|---|
| [SynchronousScope](SynchronousScope.md) | [common]<br>constructor() |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)() |