> For the complete documentation index, see [llms.txt](https://docs.arcology.network/streamer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arcology.network/streamer/event-actor/worker-thread.md).

# Worker Thread

A Worker Thread is the unit of code doing real data processing on the event data received. It receives the events from the filter and may generate some output events afterward. A work thread may or may not emit output events depending on its internal design.

```go
type WorkerThread struct {
	Name          string
	Groupid       string
	Concurrency   int
	MsgBroker     *MessageWrapper
	LatestMessage *Message
	Log           *log.LogWraper
}

```
