---
title: "Discussion on \"Triggering Code on Flutter’s Main Isolate from a WorkManager Background Isolate\" | Hashnode"
description: "Discussion on \"Triggering Code on Flutter’s Main Isolate from a WorkManager Background Isolate\". Use Case: Managing Nutrition in a Game\nI'm currently developing a game where nutrition plays a vital role. The user has a nutrition level that decreases over time, whether the app is open or not. When the nutrition level drops too low, I want to noti..."
url: "https://hashnode.com/posts/triggering-code-on-flutters-main-isolate-from-a-workmanager-background-isolate/66c1e80aa83400a18757cef1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Triggering Code on Flutter’s Main Isolate from a WorkManager Background Isolate](https://seg.veenstra.dev/triggering-code-on-flutters-main-isolate-from-a-workmanager-background-isolate?utm_source=hashnode&utm_medium=feed)

Use Case: Managing Nutrition in a Game I'm currently developing a game where nutrition plays a vital role. The user has a nutrition level that decreases over time, whether the app is open or not. When the nutrition level drops too low, I want to noti...

Aug 18, 2024 · 3 min read · seg.veenstra.dev  
Read the article

-   [#dart](https://hashnode.com/tag/dart)
-   [#flutter](https://hashnode.com/tag/flutter)
-   [#workmanager](https://hashnode.com/tag/workmanager)
-   [#background-tasks](https://hashnode.com/tag/background-tasks)
-   [#dart-isolates](https://hashnode.com/tag/dart-isolates)

## Written by

[Stephan E.G. Veenstra](https://hashnode.com/@SEGVeenstra)

@SEGVeenstra · The Netherlands

  
[View profile](https://hashnode.com/@SEGVeenstra)

I build apps and games with Flutter!

Stephan is a Flutter Developer from The Netherlands. By day he is working on serious apps, by night he likes to play around by making games and writing about what he has learned.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
