Questions tagged [events]

An event is a way for a class to provide notifications to listeners when a particular thing happens.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Flask SQL Alchemy: Object.query.all() does not show newly inserted records in @event.listens_for(Object, "after_insert")

I am using flask sqlalchemy and want to run a bunch of backend operations after new records have been added to a table. What I struggle with is that the event that registers the newly added records ...
Benjamin's user avatar
0 votes
0 answers
35 views

Clarification on Browser Event Handling Mechanism

I'm seeking clarification on how event handling works in web browsers. This is what I thought happens: When we use function like addEventListener(<some event>, <some handler>), we are ...
Urooj's user avatar
  • 333
0 votes
1 answer
18 views

Show SSIS Data Flow OnProgress events

I have a C# windows form .exe that loads and executes an SSIS package when a button is pressed. To show progress to the user, it has an event handler in it. class MyEventListener : DefaultEvents { ...
Juan Perez's user avatar
-3 votes
0 answers
25 views

Javascript - Remplir formulaire - Problème avec select event "change" [closed]

Automatisation du Remplissage de Formulaire : Le script permet de remplir automatiquement un formulaire web en lisant les données d'un fichier CSV. Il est particulièrement utile pour les tâches ...
DrStrange's user avatar
0 votes
0 answers
23 views

Flutter Google Calendar API V3 incorrectly importing datetimes

I'm currently using Google Calendar API to get an event list from a service account for a Flutter app I'm developing. The issue is that, although the timezone is correct, the datetime value from "...
tRRncE's user avatar
  • 1
0 votes
1 answer
42 views

I got error: Cannot read properties of null(reading 'value'). TypeError: cannot read properties of null(reading 'value'). I don't understand it

I'm trying to made Vocab test note. The below code is about the registration of the words. interface AddToList { en: string; ko: string; } const [word, setWord] = usetState<AddToList>({ ...
Jay's user avatar
  • 11
0 votes
0 answers
41 views

How can I capture in VBA Excel the event when the user manually changes the background color of a cell? [closed]

There is no conditional formatting involved, just manually change of the color. There is an event to capture for changing the cell's value, but no event for changing color. I found related info here, ...
Dragos's user avatar
  • 1
0 votes
1 answer
51 views

Is there any way to detect the event on input field, when it's disabled using angular?

I am trying to fetch any event event input field is disabled. <input [disabled]='disableTextbox' (click)="delectInput()"> This above is my input field. I am trying to fetch the event ...
Nikunj Chaklasiya's user avatar
-1 votes
1 answer
18 views

when i am importing a variable in index.js from app.js my getdata on click function showing error, i am trying to import variable from another file

Uncaught ReferenceError: getdata is not defined at HTMLButtonElement.onclick (index.html:9:33) i also try to use type = "module" but not working. Pls suggest some way, i know it is ...
Shivam Batham's user avatar
0 votes
0 answers
25 views

Adding item from another table in ms -access combo box

I have a combo box with row source = suplier.suplierid, suplier.supliername. I am using a search-as-you-type code: Option compare database Dim ssouce1 as string Private sub Form load() Ssouce1 = ...
Fredi Bineri's user avatar
-1 votes
0 answers
23 views

Dynamic event listener - plugin minecraft

I'm developing a Minecraft server plugin that handles user authentication by restricting player movement until they're authenticated. Right now, I'm using an onPlayerMove event listener for this ...
Rumix's user avatar
  • 5
0 votes
2 answers
40 views

Symonfy 6.4 #[AsEntityListener] PostFlush doesn't work

Working now with symfony 6.4 I'm trying to convert some on my service definition (.yml) into php attributes. What I'm doing is deleting the service definition of an EntityListener and replacing it ...
BePi's user avatar
  • 29
0 votes
0 answers
13 views

Observing subprocess execution times and memory usages, should it be a Metric? or an Event?

I have an application that runs various subprocesses dynamically during its runtime. I aim to create graphs depicting the execution time of these subprocesses and their corresponding memory usage. ...
Meir Tolpin's user avatar
0 votes
0 answers
40 views

C# Event listener from worker service

I have invoked event from endpoint and i need listen from worker service if event is invoked run some method public class WorkerService : BackgroundService { private readonly ILogger<...
Arshaluys's user avatar
0 votes
1 answer
38 views

Eventos clicks dentro do next.js

I'm developing an application with next but I came across a problem: "onClick is not being called no matter what I do, I've already used it as an anonymous function within the component, I've ...
Min gw's user avatar
  • 1
1 vote
1 answer
46 views

Differentiation between Synchronous Domain Events, Asynchronous Domain Events and Integration Events

While studying about Domain Events and Integration Events, I came accross articles that tend to refer to asynchronous Domain Events as Integration Events. My understanding of Domain Events was that ...
Yamin Nather's user avatar
0 votes
0 answers
30 views

GA4 - Email open event showing in real-time, but not in reports?

In GA4, I cannot find a way for the real-time email open event to show in reports. Here's the code that is in email signature: <img src="https://www.google-analytics.com/collect?v=2&amp;...
Steve's user avatar
  • 1
0 votes
0 answers
47 views

How to detect events like Sleep/Wake in linux

I am wondering if there is any way to detect system wide events under linux such as: sleep wakeup I need this for a project where i programmatically react to such events, but i am uncertain how and ...
Vipul Gupta's user avatar
-2 votes
1 answer
36 views

Passing eventargs and sender to the command without mvvmlight

Greeting, similar to this question asked 13 years ago i want to pass both sender and eventargs to command, but without adding an extra package to the project (long story short, that's because 1: it's ...
Notrum666's user avatar
  • 295
3 votes
1 answer
17 views

onFocusChange event seems to be cancelled by onValueChanged event

If in the following snippet I leave the TextField by clicking on the CupertinoSegmentedControl, I would expect that first the onFocusChange event of the TextField and then the onValueChanged event of ...
w461's user avatar
  • 2,299
1 vote
1 answer
28 views

Detect favicon change in userscript

I am writing a Tampermonkey userscript, and I need to fire a function on each time the pages favicon changes. For example: Script on the page changes the pages favicon to another one The userscript ...
average1337's user avatar
1 vote
2 answers
37 views

Question about how to trigger Projections

I'm learning CQRS and common tactical DDD patterns and I'm kind of confused about how to trigger projections that's in another microservice. For learning purposes, I'm not using Event Sourcing right ...
Yamin Nather's user avatar
0 votes
1 answer
53 views

trying to find and use control using event without ASP

What I am trying to do is create a library of DataGridView functions that I can copy and paste AS IS into a program. For brevity all functions will reference that DataGridView as dgv. As things stand ...
Mike Sr's user avatar
  • 523
2 votes
2 answers
51 views

How to manage an enum-typed BLoC event?

I am using these packages for the following codes: flutter_bloc, oxidized, freezed, and get_it tmdb_bloc.dart typedef TmdbState = PageState<List<MovieEntity>>; class TmdbBloc extends Bloc&...
Ουιλιαμ Αρκευα's user avatar
1 vote
0 answers
23 views

Are there any differences between an event Action and an event Action initialized as a delegate in C#? [duplicate]

public event Action<MyType> MyEvent; public event Action<MyType> MyEvent = delegate { }; Are there any differences in C# between these two types of Events?
OmniOwl's user avatar
  • 5,517
0 votes
1 answer
34 views

Are Bloc events the same as Clean Architecture use-cases?

I have this sample code for use cases: final class AuthUseCases { final DataProxy dataProxy; const AuthUseCases(this.dataProxy); Future<AuthSession> login(TCredential credential) async { ...
Ουιλιαμ Αρκευα's user avatar
0 votes
0 answers
14 views

FLTK Keyboard event depends on window size

I want to control an FLTK 1.3.8 application on an RPi via remote control, which sends keyboard events and have created a program that reacts to the codes of the remote. My code: #include <FL/Fl.H&...
Kaloschke's user avatar
0 votes
1 answer
28 views

Check if data is available to read in ASIO

I am migrating old c++ code to more modern c++ with ASIO and i have a problem which i'm not sure how to solve with ASIO. The general ideia is: Act as Client and ...
eniac's user avatar
  • 75
0 votes
1 answer
19 views

Relation between mouse, touch and pointer events in Javascript

Trying to get event handling correct for a web app that should work equally well with mouse and touch events, I started using pointer events where mouse and touch handling should be basically the same....
Harald's user avatar
  • 4,645
0 votes
0 answers
18 views

How to add an event on long press empty view

I am using the library by Alam Kanak accessible at this github link https://github.com/alamkanak/Android-Week-View/tree/master For the function "onEmptyViewLongPress" I would like the user ...
Maitreyee Tewari's user avatar
-1 votes
1 answer
50 views

button onclicks not working on certain elements

I am making a game in JavaScript. I am trying to create a button with an onclick element and attach it to the scene. I have already done this in several places, but now the code is failing. This is ...
grevans's user avatar
0 votes
1 answer
37 views

event Action Invoke from different thread in C#

public class A { private B NotifyObj = new B(); public A() { NotifyObj.NotifyEvent += Notified; } private async void Notified() { } } Class ...
renji's user avatar
  • 45
1 vote
0 answers
21 views

Firebase Analytics incorrect new users, active users (higher than Adjust and Play Console in 5 times every day)

Hello stackoverflow community! I have Android app and I'm using for Analytics - Firebase and Adjust. Based on analysis I'm discovering that on daily comparison instruments analytics - Firebase showing ...
Volodymyr's user avatar
0 votes
0 answers
20 views

Blazor Html Templating Engine - is there a way to do this?

I am trying to create a Blazor Templating engine. Basically - lets say there is an HTML string as follows: <div> <div>This is some text</div> <div>{...
Laz's user avatar
  • 11
1 vote
1 answer
21 views

MailBeforeValidateEvent in Shopware6

I'm currently working with the MailBeforeValidateEvent in Shopware and I'd like to know if this event is triggered before emails are sent to the queue. I couldn't find detailed information in the ...
Moss's user avatar
  • 255
0 votes
0 answers
31 views

Angular: data validation through event event

in angular i have a child component to get input from user and send it to server via rest apis, however my child component want to validate data from parent component through event, before sending ...
Ijaz's user avatar
  • 5
0 votes
0 answers
19 views

Microsoft graph change notifications with "updated" changeType: How do we avoid unwanted multiple notifications?

When I subscribe to changes in events of a user (here, a meeting room), I want to receive notifications in specific scenarios only: The event is created. The event is deleted. The start time or end ...
Clément's user avatar
0 votes
1 answer
34 views

How to alert about kubernetes events repeating for too long?

My task is to find when a Kubernetes event is repeated for a long time, to alert us about it. e.g. a Liveness probe fails way more than is reasonable due to a deployment restart (but this is just an ...
Capt. Crunch's user avatar
  • 4,578
2 votes
1 answer
50 views

Java ApplicationEvents: Difference between @EventListener annotation and ApplicationListener interface

I am using Java ApplicationEvents to publish and then subscribe listen to an event. What is the difference between @EventListener annotation and ApplicationListener interface. Any differences, or the ...
mattsmith5's user avatar
2 votes
0 answers
12 views

Observing network change event in linux application

I have an application where I wanted to get notified if there is any network change that has occured. I have found a bunch of solution like using NetworkManager or systemd-network service (which I do ...
Vipul Gupta's user avatar
0 votes
0 answers
32 views

Why doesn't the Laravel Spatie permission role attach when I'm in an Eloquent Event / Observer with Laravel Nova?

I am using Laravel Nova with the Spatie Permissions package (version 5.10.2 on Laravel 10.21.0 / Laravel Nova 4.26.5) and facing an issue where roles are not being attached to a user when I'm using an ...
Harry's user avatar
  • 1
2 votes
2 answers
61 views

how to use arguments with eventListener?

I need to upgrade from "onclick" to "eventListener" but I need to keep the passing of arguments. How do I pass arguments when using "eventListener"? The following is the ...
Javier Arambarri Calvo's user avatar
-1 votes
0 answers
36 views

Spring Boot Exception Handler not working with EventHandler TransactionPhase.AFTER_COMMIT

In Spring Boot, when there is an exception thrown in a event handler, it is not correctly handled by my exception handler This occurs only if the event handler is annotated with @TransactionPhase....
user3479176's user avatar
0 votes
0 answers
15 views

Keyboard event listener in React causing unnecessary re-render [duplicate]

The Keyboard listener used in my app is causing unnecessary re-renders. When I input values using button click everything works as expected. But with keypress, the value of the exp variable is set ...
Shubhankar Valimbe's user avatar
0 votes
1 answer
65 views

Vaadin: How to get TextField keypress event to fire when in a Grid Header?

Vaadin V24, Java. I have a grid that will hold data of, let's say, PojoClass. In the header of that grid, I have a TextField. When you type something into the field and press the Enter key, the value ...
James Asher's user avatar
1 vote
2 answers
97 views

How to pass a variable with the current value to runspace?

I'm writing a script that will download the selected programs I need (thank you Santiago Squarzon for your help). The script works well when I need to download one program, but to download several in ...
Dron's user avatar
  • 33
2 votes
1 answer
30 views

Pointer event javascript

What do usePointerCapture and releasePointerCapture actually do on pointer events, what are the uses of these methods and how to use them Some documentation such as mdn does not explain it in detail
Hanzo Hasasi's user avatar
1 vote
0 answers
24 views

Is there any way to write formulae using own properties we have sent while tracking in mixpanel?

I have a app where a hiring manager posts a job and hires job seekers. I have placed two tracking events. Job Hired (which will be tracked once the job seeker gets hired for a particular job) Job Not ...
Preeti Das's user avatar
0 votes
0 answers
18 views

Zabbix - Filter log based on contents

I am trying to filter on the Event Log ID 4624, for events that only contain the string "Elevated Token: No" I have tried a 'Matches Regular Expression' of (?i)Elevated Token: No but I ...
Alex's user avatar
  • 531
0 votes
1 answer
24 views

Unable to catch the CHANNEL_ANSWER event In node js script from the FREESWITCH

I hope everybody is fine. I have a question about freeswitch. I have a very minimal experience in freeswitch and working to connect my node js script to the freeswitch server. I have successfully ...
aIi.i's user avatar
  • 1

1
2 3 4 5
759