Questions tagged [events]
An event is a way for a class to provide notifications to listeners when a particular thing happens.
37,934
questions
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 ...
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 ...
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
{
...
-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 ...
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 "...
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>({
...
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, ...
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 ...
-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 ...
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 = ...
-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 ...
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 ...
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. ...
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<...
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 ...
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 ...
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&...
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 ...
-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 ...
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 ...
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 ...
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 ...
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 ...
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&...
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?
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 {
...
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&...
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
...
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....
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 ...
-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 ...
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 ...
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 ...
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>{...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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....
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...