about summary refs log tree commit diff
path: root/src/state/events.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/events.ts')
-rw-r--r--src/state/events.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/state/events.ts b/src/state/events.ts
index f85860823..1384abded 100644
--- a/src/state/events.ts
+++ b/src/state/events.ts
@@ -1,6 +1,4 @@
 import EventEmitter from 'eventemitter3'
-import {BskyAgent} from '@atproto/api'
-import {SessionAccount} from './session'
 
 type UnlistenFn = () => void
 
@@ -16,19 +14,6 @@ export function listenSoftReset(fn: () => void): UnlistenFn {
   return () => emitter.off('soft-reset', fn)
 }
 
-export function emitSessionLoaded(
-  sessionAccount: SessionAccount,
-  agent: BskyAgent,
-) {
-  emitter.emit('session-loaded', sessionAccount, agent)
-}
-export function listenSessionLoaded(
-  fn: (sessionAccount: SessionAccount, agent: BskyAgent) => void,
-): UnlistenFn {
-  emitter.on('session-loaded', fn)
-  return () => emitter.off('session-loaded', fn)
-}
-
 export function emitSessionDropped() {
   emitter.emit('session-dropped')
 }