Guest User

Untitled

a guest
Aug 2nd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Vala 0.29 KB | None | 0 0
  1. Bump.ResourcePool<SystemExecutables> pool = new Bump.ResourcePool<SystemExecutables> (1);
  2.  
  3. private async  Gee.Collection<string> find_prefixed (string search_string) {
  4.   return yield this.pool.execute_background<Gee.Collection<string>> ((executables) => {
  5.     // Do stuff to executables
  6.   });
  7. }
Add Comment
Please, Sign In to add comment