# eventLoopView

`import { eventLoopView } from "destack:runtime";`

Describe the event loop for one worker visible through one pinned world view.

```ds title="eventLoopView"
export declare function eventLoopView(view: WorldViewHandle, workerId: WorkerId): Result<EventLoop, HostError>
```

[language/library/src/runtime/inspect.ds:306:309](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/inspect.ds#L306-L309)
