Questions tagged [isolate]

41 questions
4
votes
0 answers

how to make app multi threading loop infinite flutter

how to make app multi threading loop infinite flutter? i tried to build flutter multi thread but failed, i want the while loop to run continuously and not stop the ui page, can flutter be multi thread? import 'package:flutter/material.dart'; import…
noobdev
  • 95
  • 1
  • 6
3
votes
3 answers

What is equivalent of JAVA ThreadLocal in dart?

static ThreadLocal threadBuffer = new ThreadLocal() { @Override public byte[] initialValue() { return new byte[512]; } }; In Java, ThreadLocal is a class that provides thread-local variables. These are variables that…
Hamza Ali
  • 272
  • 4
  • 9
2
votes
0 answers

flutter compile time conditional

i've added a background isolate and it works fine on macOs and android, but as soon as i flutter run -d chrome i.e. compile for web i get a compile time error: [...] Error: Member not found: 'BackgroundIsolateBinaryMessenger.ensureInitialized'. …
HannesH
  • 932
  • 2
  • 12
2
votes
1 answer

Binding has not yet been initialized. When Using isloates

** I am creating google map location app I tried to resolve my self but i am not able to fix this bug Please help me to fix this bug i am getting error when i create isolate for get location I have used packages google_maps_flutter:…
Vikash Kumar
  • 103
  • 3
  • 9
2
votes
0 answers

Running a stream using isolate in Flutter

I want to run a stream in a separate isolate. Also, I need the main isolate to be notified by the value changes in that stream. In order to do that, I'm going to return the stream to the main isolate. I tried to solve the problem with the help of…
RaSha
  • 1,356
  • 1
  • 16
  • 30
2
votes
0 answers

Database path in main isolate and other isolate

I am writing database from background thread for this I have used isolate.But after writing data unable to get updated data from main thread to update UI. I have checked it like right after inserting data I am getting count of inserted entries its…
1
vote
0 answers

Flutter Hive: Open and return Box in isolate

I'm trying to open the box separately because the box contains so much data that it's causing my main UI to stutter/freeze. Is there a way to open the box separately and return the box object? I asked ChatGPT and he gave this answer: Future
Kucing Malaya
  • 277
  • 3
  • 12
1
vote
1 answer

How to discard innerText between certain elements using Selenium Python?

I am writing a webpage scraper to collate sentences in Japanese. My source utilises so-called furigana, which appears as characters above kanji to indicate the Kanji's pronunciation. I do not want this furigana to appear in my scraped sentences. The…
hpbristol
  • 13
  • 3
1
vote
0 answers

Flutter package for foreground service flutter_foreground_task: ^3.10.0 not works in sdk 33

flutter_foreground_task: ^3.10.0 i used this package in flutter project there is a sendport and receiveport callback sendport and recieve port not working in sdk 33 on release build it was crashing. registerReceivePort(await…
NAGARAJ K
  • 51
  • 4
1
vote
1 answer

flutter flame there is no package call flame_isolate: ^0.1.0

there is no any package call "flame_isolate" but flame example show "flame_isolate" package in pubspec.yml file. how can I find that package flutter version 3.3.8 stable, flame version 1.4.0
nadeesh
  • 107
  • 9
1
vote
0 answers

R shiny session problem in deployed golem application

I have a shiny application made with golem in which I have a lot of modules (ui and server). This application is deployed and my problem is that when I open 2 windows of my application, the filters of one (window) are applied to the other. There is…
nimliug
  • 349
  • 1
  • 11
1
vote
1 answer

Autodesk forge viewer table row click to isolate elements

I am trying to create a dynamic table inside the viewer's page. each row of the table represents an object from the model and has a couple of different parameters ( name, level, etc..) I want to make a click event on each row, that isolates the…
levi
  • 43
  • 1
  • 6
1
vote
0 answers

Flutter: How to authorize an isolate to access google drive (no Firebase)

My app (not Firebase) backup data to google drive in foreground (using google_signin, and googleapis). However, backup won't run in background (as WorkManager task). The reason for this, isolates do not share memory with other threads and thus even…
zakiya.tamimi
  • 33
  • 1
  • 5
1
vote
1 answer

Isolating and joining adjacent columns/cells based on a desired cell value

I'm trying to isolate and join pairs of columns in a data set with 2m rows and ~400 columns. The columns distX and zX pertain to each other and I'm interested in isolating pairs of cells based on the dependent variable, distX. I need to drop cells…
0
votes
0 answers

Flutter FirebaseMessaging.onBackgroundMessage & Nearby not working together on same isolate

I am using FirebaseMessaging.onBackgroundMessage for calling message notification etc and Nearby for WifiDirect when I run both together Nearby unable to find nearby users but as soon as i comment the FirebaseMessaging.onBackgroundMessage it works…
Osama Kashif
  • 366
  • 1
  • 5
1
2 3