You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement an advisory lock using postgresql and typeorm. I am facing same issue when trying to use the connection that is injected into the constructor.
Class members are inaccessible due to the class not being bound in the execution context of
tryLock
.Following snippet explains what I mean.
Perhaps
.bind
should be added tohttps://github.com/miaowing/nest-schedule/blob/master/lib/JobExecutor.ts#L19
The text was updated successfully, but these errors were encountered: